/*È«ÆÁ¹ã¸æ*/ /*QQ_Full_Begin_Tag*/ function tmh__make_ad_fodder(src, width, height) { src = src.replace(" ", ""); var TEMP_IMAGE = ''; var TEMP_FLASH = ' ' + ' ' + ' ' + ' ' + ' ' + ''; return (/\.swf$/gi.test(src) == true ? TEMP_FLASH : TEMP_IMAGE) .replace(/\$src\$/gi, src) .replace(/\$width\$/gi, width) .replace(/\$height\$/gi, height) ; } function tmh__make_ad_content(strImageUrl, strImageName, iWidth, iHeight, strClickUrl, blClickCover) { var TEMP_LINK = '$ad_fodder$'; var TEMP_COVER = '
' + '$ad_fodder$'; var src = strImageName || strImageUrl; var width = parseInt(iWidth); var height = parseInt(iHeight); var click_url = strClickUrl || "http://www.qq.com/"; var ad_fodder = tmh__make_ad_fodder(src, width, height); if (/\.swf$/gi.test(src) == false) { return TEMP_LINK .replace(/\$ad_fodder\$/gi, ad_fodder) .replace(/\$click_url\$/gi, click_url) ; } // flash if (blClickCover == false) { return ad_fodder; } return TEMP_COVER .replace(/\$width\$/gi, width) .replace(/\$height\$/gi, height) .replace(/\$click_url\$/gi, click_url) .replace(/\$ad_fodder\$/gi, ad_fodder) ; } function tmh__show_ad_content(strImageUrl, strImageName, iWidth, iHeight, strClickUrl, blClickCover) { document.write(tmh__make_ad_content(strImageUrl, strImageName, iWidth, iHeight, strClickUrl, blClickCover)); } if (typeof g_mutex_lock == "undefined") {g_mutex_lock = new Array(); } function mutex_check_init() { if(!g_mutex_lock) return -1; if(!g_mutex_lock.constructor) return -1;; if(g_mutex_lock.constructor.toString().toLowerCase().indexOf("array") == -1) return -1;;} function mutex_lock() { var name = "TENCENT_AD_LOCK_56318658"; if (mutex_check_init() < 0) return -1; if (!g_mutex_lock[name]) g_mutex_lock[name] = 0; g_mutex_lock[name]++; if (g_mutex_lock[name] > 1) { g_mutex_lock[name]--; return -1; } return 0;} function mutex_unlock() { var name = "TENCENT_AD_LOCK_56318658"; if (mutex_check_init() < 0) return -1; if (g_mutex_lock[name] <= 0) return -1; g_mutex_lock[name]--; return 0; } Full_strImageUrl = "" ; //Full_strImageName = "/images/ad/512.swf"; Full_strImageName = "/images/SOHU023web.jpg"; Full_strClickUrl = "/make" ; Full_sIsCover = "Y"; Full_bIsCover = true; if(Full_sIsCover.toUpperCase() == "N") Full_bIsCover = false; document.ns = navigator.appName == "Netscape"; if(document.ns) {document.ns = navigator.userAgent.toLowerCase().indexOf("firefox") < 0;} Full_iImageWidth = parseInt("760"); if (isNaN(Full_iImageWidth)) Full_iImageWidth = 760; Full_iImageHeight = parseInt("400"); if (isNaN(Full_iImageHeight)) Full_iImageHeight = 400; function Full_PlayNoneAdFull() {document.getElementById("full_div").style.display="none"; fullad_try_stop();} function Full_PlayAdFull() {var el = document.getElementById("full_div"); el.style.display="block";setTimeout("Full_PlayNoneAdFull()", 9000 );} function fullad_try_stop() {if (typeof mutex_unlock == "undefined") return -1; return mutex_unlock();} function fullad_try_run() {if (typeof mutex_lock == "undefined") return Full_PlayAdFull(); if (mutex_lock() == 0) return Full_PlayAdFull(); setTimeout("fullad_try_run();", 500);} function Full_writeAdFull() { if(document.ns) { document.write(""); document.write("
"); tmh__show_ad_content(Full_strImageUrl, Full_strImageName, Full_iImageWidth, Full_iImageHeight, Full_strClickUrl, Full_bIsCover); document.write("
"); } else { document.write("
"); document.write("
"); tmh__show_ad_content(Full_strImageUrl, Full_strImageName, Full_iImageWidth, Full_iImageHeight, Full_strClickUrl, Full_bIsCover); document.write("
"); } } Full_writeAdFull(); document.getElementById("full_div").style.display="none"; setTimeout("fullad_try_run()",1); document.write(""); /*QQ_Full_End_Tag*/