var ip="";
ip=document.getElementById("ipLocation").innerHTML;

function getAreaTagByIpLocation(location){
    var tag = ' ';
    return tag;
}

var tag = getAreaTagByIpLocation(ip);  //alert(tag);


/** */ 
function getCookie(name) { 
var dc = document.cookie;  
var prefix = name + "="; 
var begin = dc.indexOf("; " + prefix); 
if (begin == -1) { 
begin = dc.indexOf(prefix); 
if (begin != 0) return null;  
} else { 
begin += 2; 
} 
var end = document.cookie.indexOf(";", begin); 
if (end == -1) { 
end = dc.length; 
} 
return unescape(dc.substring(begin + prefix.length, end)); 
} 


//关闭,最小化,最大化
setTimeout('hideDiv();', 8000);  

function showDiv()
{
document.getElementById("PcPoPmarket").style.height = 240+'px';
document.getElementById("showvod").style.display = 'none';
document.getElementById("hidevod").style.display = 'block'
}

function hideDiv()
{
document.getElementById("PcPoPmarket").style.height = 29 + 'px';
document.getElementById("hidevod").style.display = 'none';
document.getElementById("showvod").style.display = 'block';
}

function closeDiv()
{
document.getElementById("PcPoPmarket").style.display = 'none';
}

//alert(getCookie("PCpricrr"));


if (tag.length > 0 && getCookie('PCpricrr')==null){
	
//以下是为了兼容 xhtml1.0 和 html4两种  / ie6 ie7 ff 的兼容用hack 
if( typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat'){
document.writeln('<DIV  style="z-index:9;right:0;bottom:0; height:240px;width:260px;overflow:hidden;POSITION:fixed;_position:absolute; _margin-top:expression(document.documentElement.clientHeight-this.style.pixelHeight+document.documentElement.scrollTop);" id="PcPoPmarket" >');
}
else {
document.writeln('<DIV  style="z-index:9;right:0;bottom:0; height:240px;width:260px;overflow:hidden;POSITION:fixed;*position:absolute; *top:expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-this.style.pixelHeight);" id="PcPoPmarket" >');
}
document.writeln(' <div style="z-index:9; POSITION: absolute; width:260px; height:30px; overflow:hidden;"><span style="CURSOR: pointer;float:left;clear:none; width:123px; height:14px; overflow:hidden; margin:10px 5px;" onmouseover=showDiv()></span><span style="CURSOR: pointer;float:right;clear:none; width:15px; height:14px; margin:6px 5px;" onclick=closeDiv()></span><span style="background-image:url(myimg/on_big.gif);CURSOR: pointer;float:right; width:15px; height:14px; overflow:hidden;clear:none;display:none; margin:9px 1px 0 0; " onclick=showDiv() id="showvod"></span><span style="background-image:url(myimg/on_small.gif);CURSOR: pointer;float:right;overflow:hidden; width:15px; height:14px; clear:none; display:bolck; margin:9px 1px 0 0;" onclick=hideDiv() id="hidevod"></span></div> ');
document.write("<iframe scrolling=no frameborder=0 width=260 height=240 src=/en/vod/vod.htm></iframe>");
document.writeln('</DIV>');
}
else {}





