    var offsetxpoint=0 
	var offsetypoint=15
	var ie=document.all
	var ns6=document.getElementById && !document.all
	var enabletip=false
	if (ie||ns6)
	var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? $G("dhtmltooltip") : ""
	function ietruebody(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
	}
	function ddrivetip(thetext, thecolor, thewidth){
	if (ns6||ie){
	if (typeof thewidth!="undefined") {tipobj.style.width=thewidth+"px";}
	if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
	tipobj.innerHTML=thetext
	enabletip=true
	return false
	}
	}
	function positiontip(e){
	if (enabletip){
	var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
	var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
	var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
	var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
	var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
	if (rightedge<tipobj.offsetWidth)
	tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
	else if (curX<leftedge)
	tipobj.style.left="5px"
	else
	tipobj.style.left=curX+offsetxpoint+"px"
	if (bottomedge<tipobj.offsetHeight)
	tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
	else
	tipobj.style.top=curY+offsetypoint+"px"
	tipobj.style.visibility="visible"
	}
	}
	function hideddrivetip(){
	if (ns6||ie){
	enabletip=false
	tipobj.style.visibility="hidden"
	tipobj.style.left="-1000px"
	tipobj.style.backgroundColor=''
	tipobj.style.width=''
	}
	}
	document.onmousemove=positiontip

function $G(ObjName)
{
    try{return document.getElementById(ObjName);}catch(err){}
}
function setTwoNav()
{
twonavigation('CityDrop');
twonavigation('ArticlesDrop');
twonavigation('CommentDrop');
twonavigation('JobsDrop');
twonavigation('ClassifiedsDrop');
twonavigation('BizchinaDrop');
twonavigation('AroundDrop');
}
function setTwoCityNav()
{
try{twonavigation('CLdrop');}catch(err){}
try{twonavigation('Eventdrop');}catch(err){}
try{twonavigation('ArticlesDrop');}catch(err){}
try{twonavigation('Listdrop');}catch(err){}
try{twonavigation('jobDrop');}catch(err){}
try{twonavigation('ClassifiedsDrop');}catch(err){}
try{twonavigation('BGdrop');}catch(err){}
}

function twonavigation(ObjName){
var liItem=$G(ObjName).getElementsByTagName('li');
for(i=0;i<liItem.length;i++){
liItem[i].onmouseover=function(){this.className='active';};
liItem[i].onmouseout=function(){this.className=''};
}}

function ShowOrHide(ObjName)
{
    var Objd=$G(ObjName);
    if(Objd.style.display=="none")
        Objd.style.display="block";
    else
        Objd.style.display="none";
}

function DivdisplayHide(ObjName)
{
    try
    {
    var Objd=$G(ObjName);
        Objd.style.display="none";
    }catch(err){}
}

function Divdisplayblock(ObjName)
{
    try
    {
    var Objd=$G(ObjName);
        Objd.style.display="";
    }catch(err){}
}

function ShowNewOpen(ObjName)
{
    var Objd=$G(ObjName);
   Objd.style.display="block"; 
    for(var i=1;i<5;i++)
   {
      if(ObjName!="new"+i)
      {
         $G("new"+i).style.display="none";
      }
   } 
}


function ShowBackcolorCCCCCC(ObjID)
{
    ObjID.background="#CCCCCC";
}


function ShowBackcolorFFFFFF(ObjID)
{
    ObjID.background="#FFFFFF";
}

function nTabs(thisObj,Num,Activeclass,NOClass){
if(thisObj.className == Activeclass)return;
var tabObj = thisObj.parentNode.id;
var tabObjmu = thisObj.parentNode.id;
tabObjmu=tabObjmu.substring(0,tabObjmu.length);
var tabList = $G(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
  thisObj.className = Activeclass; 
      $G(tabObjmu+"_Content"+i).style.display = "block";
  }else{
  tabList[i].className = NOClass;
   $G(tabObjmu+"_Content"+i).style.display = "none";
  }
} 
}

function nTabsContent(thisObj,Num,Activeclass,NOClass,ContStr){
if(thisObj.className == Activeclass)return;
var tabObj = thisObj.parentNode.id;
var tabObjmu = thisObj.parentNode.id;
tabObjmu=tabObjmu.substring(0,tabObjmu.length);
var tabList = $G(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
      $G(tabObjmu+ContStr+i).style.display = "block";
  }else{
   $G(tabObjmu+ContStr+i).style.display = "none";
  }
}
}

function nTabsContentThree(thisObj,Num,Activeclass,NOClass,ContStr,TopList){
if(thisObj.className == Activeclass)return;
var tabObj = thisObj.parentNode.id;
var tabObjmu = thisObj.parentNode.id;
tabObjmu=tabObjmu.substring(0,tabObjmu.length);
var tabList = $G(tabObj).getElementsByTagName(TopList);

for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
      thisObj.className = Activeclass; 
      $G(tabObjmu+ContStr+i).style.display = "block";
  }
  else
  {
      tabList[i].className = NOClass;
      $G(tabObjmu+ContStr+i).style.display = "none";
  }
}
}

function nTabsOfH2(thisObj,Num,Activeclass,NOClass){
if(thisObj.className == Activeclass)return;
var tabObj = thisObj.parentNode.id;
var tabObjmu = thisObj.parentNode.id;
tabObjmu=tabObjmu.substring(0,tabObjmu.length);
var tabList = $G(tabObj).getElementsByTagName("a");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
   thisObj.className = Activeclass; 
      $G(tabObjmu+"_Content"+i).style.display = "block";
  }else{
   tabList[i].className = NOClass; 
   $G(tabObjmu+"_Content"+i).style.display = "none";
  }
} 
}

function InpicturesTab(ObjID,ji)
{
    for(var i=1;i<=4;i++)
    {
        $G("Divinpicturebig"+i).style.display="none";
        $G("Divinpicture"+i).className="";
        $G("DivInPicturesTitle"+i).style.display="none";
    }
    $G("Divinpicturebig"+ji).style.display="";
    $G("DivInPicturesTitle"+ji).style.display="";
    ObjID.className="currents";
}

//google
function SearchLinkGoogle()
{
     var link="/search/?cx=012119568953210637537%3Ad4rcp1spxfa&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
     window.location.href=link;
}

function SetSearchtype(objID,Snum)
{
    $G("sjob").className="";
    try{$G("sclassifieds").className="";}catch(err){}
    try{$G("scity").className="";}catch(err){}
    try{$G("sevent").className="";}catch(err){}
    try{$G("searticle").className="";}catch(err){}
    $G("svenues").className="";
    $G("sallsite").className="";
    try{$G("sarticles").className="";}catch(err){}
    objID.className="active";
    $G("searType").value=Snum;
    
    objvalue=$G("TextSeach");
    if(Snum!=0&&Snum!=5&&Snum!=6)
    {
        if(objvalue.value=="Listings, Events, Articles, Jobs, Housing...")
        {
            objvalue.value="";
            objvalue.onblur="";
        }
    }
    else
    {
        if(objvalue.value=="")
        {
            objvalue.value="Listings, Events, Articles, Jobs, Housing...";
            objvalue.style.color ="#888";
        }
    }
    
    try{
    $G("hiddenCityID").value="0";
    $G("hiddenCityName").value="";
    $G("getCitySearch").innerHTML="Choose City";
    if(Snum==6||Snum==5)
    {
        $G("SetCity").style.display="none";
        $G("TextSeach").style.width="365px";
    }
    else
    {
        $G("SetCity").style.display="";
        $G("TextSeach").style.width="256px";
    }    
    }catch(err){}
}
function ShowOrHideClass(ObjName)
{
    Snum=$G("searType").value;
    var ObjName="selectSearchCity";
    if(Snum==2)
        ObjName="selectSearchCCity";
    else if(Snum==3)
        ObjName="selectSearchECity";
    var Objd=$G(ObjName);
    if(Objd.style.display=="none")
        Objd.style.display="block";
    else
        Objd.style.display="none";
}
function setsearchcity(cityid,cityname)
{
    $G("hiddenCityID").value=cityid;
    if(cityname.toLocaleLowerCase()!="all")
        $G("hiddenCityName").value=cityname.toLocaleLowerCase();
    else
        $G("hiddenCityName").value="";
    $G("selectSearchCity").style.display="none";
    $G("getCitySearch").innerHTML=cityname;
}

function SearchLinkGoogleNotCity()
{
    cityid=$G("hiddenCityID").value;
    cityname=$G("hiddenCityName").value;
    SearchLinkGoogleCity(cityname,cityid,0);
}

function SearchLinkGoogleCity(cityname,cityid,CityOrNo)
{
    var CodeUser="012119568953210637537%3A";
    var Code="d4rcp1spxfa";
    var SNum=$G("searType").value;
    var link="/city/search/g.aspx?cityname="+cityname+"&SNum="+SNum+"&cx="+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    if(SNum==0){
    if(cityname=="")
        Code="mhuatbha-oi";
    else if(cityname=="beijing")
        Code="92pdxr43qku";
    else if(cityname=="zhuhai")
        Code="6yi5loibygq";
        else if(cityname=="zhengzhou")
        Code="34_xi71xyrm";
        else if(cityname=="yiwu")
        Code="t_lj9wu_bwi";
        else if(cityname=="yinchuan")
        Code="0nmzym32one";
        else if(cityname=="xining")
        Code="rcgjjocd-xi";
        else if(cityname=="xi'an")
        Code="wfmj1vqubve";
        else if(cityname=="xiamen")
        Code="wyl7woqjv_i";
        else if(cityname=="wuxi")
        Code="0h45y0zwmyo";
        else if(cityname=="wuhan")
        Code="sh9d4gpbszg";
        else if(cityname=="urumqi")
        Code="lq4zjibzyxs";
        else if(cityname=="tianjin")
        Code="ksezlzlks1y";
        else if(cityname=="taiyuan")
        Code="up1-gt1uhlm";
        else if(cityname=="suzhou")
        Code="09flypiedxc";
        else if(cityname=="shijiazhuang")
        Code="ur3xpaengai";
        else if(cityname=="shenyang")
        Code="ygddbxrf93g";
        else if(cityname=="shenzhen")
        Code="z7dksbdg6vc";
        else if(cityname=="shanghai")
        Code="b1ehiw47ooo";
        else if(cityname=="sanya")
        Code="bpbaitll6mk";
        else if(cityname=="qingdao")
        Code="exfbiqaimnk";
        else if(cityname=="ningbo")
        Code="ufbhsiv4fya";
        else if(cityname=="nanjing")
        Code="nvxff64_vyk";
        else if(cityname=="nanning")
        Code="k2qdaztdntu";
        else if(cityname=="nanchang")
        Code="n6qmcbcl2hc";
        else if(cityname=="lhasa")
        Code="ibc51d8asde";
        else if(cityname=="lanzhou")
        Code="bttaqxuyl6e";
        else if(cityname=="kunming")
        Code="gzgiw1gio-w";
        else if(cityname=="jinan")
        Code="og7y4bmtx9y";
        else if(cityname=="hohhot")
        Code="4b8jtfhyt2u";
        else if(cityname=="hefei")
        Code="rvw7riwwgau";
        else if(cityname=="harbin")
        Code="glvvcnridh8";
        else if(cityname=="hangzhou")
        Code="fohkmmdhina";
        else if(cityname=="guangzhou")
        Code="d5qubeepkga";
        else if(cityname=="guilin")
        Code="tjp_nuxs0ks";
        else if(cityname=="chengdu")
        Code="9yyyb-qe6fy";
        else if(cityname=="daqing")
        Code="8wok7ibmytq";
        else if(cityname=="fuzhou")
        Code="9ei36g2qjhy";
        else if(cityname=="dalian")
        Code="zrbxj5snhw0";
        else if(cityname=="chongqing")
        Code="yg5ri1eijxi";
        else if(cityname=="changsha")
        Code="imss43wh8hu";
        else if(cityname=="changchun")
        Code="j5wfvny62bw";
        if(cityname=="")
            link="/search/?SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
        else
            link="/city/search/g.aspx?cityname="+cityname+"&SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    }
    else if(SNum==3)
    {
        if(cityname=="")
            Code="zcvgzydjjvk";
        else if(cityname=="beijing")
            Code="ln7z_ef-gem";
        else if(cityname=="shanghai")
            Code="lexib4v6wpe";
        else if(cityname=="guangzhou")
            Code="bshovijaxpg";
        else if(cityname=="shenzhen")
            Code="ps32ecm4iqe";
        else if(cityname=="hangzhou")
            Code="cxnvbuomyoq";
        if(cityname=="")
            link="/search/?SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
        else
            link="/city/search/g.aspx?cityname="+cityname+"&SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    }
    else if(SNum==4){
    if(cityname=="")
        Code="z9gczglmggw";
    else if(cityname=="beijing")
        Code="3h2uesb-jco";
    else if(cityname=="zhuhai")
        Code="yvfraosixbo";
        else if(cityname=="zhengzhou")
        Code="sv8hbm7jyzq";
        else if(cityname=="yiwu")
        Code="a1inb8hhr8m";
        else if(cityname=="yinchuan")
        Code="ufafeykfii8";
        else if(cityname=="xining")
        Code="hyp2rziovbg";
        else if(cityname=="xi'an")
        Code="761pooui-yu";
        else if(cityname=="xiamen")
        Code="yfpi2vom4q4";
        else if(cityname=="wuxi")
        Code="llnhqscy8dy";
        else if(cityname=="wuhan")
        Code="unbox1bcclg";
        else if(cityname=="urumqi")
        Code="-no8av7nkm8";
        else if(cityname=="tianjin")
        Code="6xzlt9b5qfq";
        else if(cityname=="taiyuan")
        Code="6_wi6bqbbmc";
        else if(cityname=="suzhou")
        Code="5bdvgdo7u1w";
        else if(cityname=="shijiazhuang")
        Code="rmyxzlvu8i4";
        else if(cityname=="shenyang")
        Code="xrcykenmj_s";
        else if(cityname=="shenzhen")
        Code="h3cu4jw32ge";
        else if(cityname=="shanghai")
        Code="6a9qdusgnac";
        else if(cityname=="sanya")
        Code="qp8xda0vswu";
        else if(cityname=="qingdao")
        Code="j729z4zfgtk";
        else if(cityname=="ningbo")
        Code="1f4i0tlwaok";
        else if(cityname=="nanjing")
        Code="bgtadnkdos8";
        else if(cityname=="nanning")
        Code="n4jvp8en5jk";
        else if(cityname=="nanchang")
        Code="tgdzs3supaq";
        else if(cityname=="lhasa")
        Code="fsel1_lt0u0";
        else if(cityname=="lanzhou")
        Code="2ioamzk5nla";
        else if(cityname=="kunming")
        Code="2lqyctpsx_k";
        else if(cityname=="jinan")
        Code="qvlqveiue8u";
        else if(cityname=="hohhot")
        Code="yojyizrmlgi";
        else if(cityname=="hefei")
        Code="hxyinjhcmic";
        else if(cityname=="harbin")
        Code="xliwxh-tntw";
        else if(cityname=="hangzhou")
        Code="b8dla5bxwuc";
        else if(cityname=="guangzhou")
        Code="dt1ictmaw1c";
        else if(cityname=="guilin")
        Code="copaaho02rg";
        else if(cityname=="chengdu")
        Code="fvc0zbed_u4";
        else if(cityname=="daqing")
        Code="utjxp3gh9fu";
        else if(cityname=="fuzhou")
        Code="gk9iqbgga8y";
        else if(cityname=="dalian")
        Code="qe78vrz2msq";
        else if(cityname=="chongqing")
        Code="pfpngzktalq";
        else if(cityname=="changsha")
        Code="vegodksbtys";
        else if(cityname=="changchun")
        Code="h5esga2omha";
        if(cityname=="")
            link="/search/?SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
        else
            link="/city/search/g.aspx?cityname="+cityname+"&SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    }
    else if(SNum==7){
    if(cityname=="")
        Code="8gstcmprrtu";
    else if(cityname=="beijing")
        Code="1qhz4j6ctyq";
    else if(cityname=="zhuhai")
        Code="jyg0vvj3yj8";
        else if(cityname=="zhengzhou")
        Code="vnarzfnwm3a";
        else if(cityname=="yiwu")
        Code="n2bye_n75nu";
        else if(cityname=="yinchuan")
        Code="17cgd-rmsmg";
        else if(cityname=="xining")
        Code="skt5htsrw6k";
        else if(cityname=="xi'an")
        Code="ry6oy93ivto";
        else if(cityname=="xiamen")
        Code="tm-0ppwuxt4";
        else if(cityname=="wuxi")
        Code="tcw6h2vh5wk";
        else if(cityname=="wuhan")
        Code="tr8nenxon3m";
        else if(cityname=="urumqi")
        Code="utjf-o-uxng";
        else if(cityname=="tianjin")
        Code="p6lykmepp-0";
        else if(cityname=="taiyuan")
        Code="yyfvrc9scqk";
        else if(cityname=="suzhou")
        Code="ujyivbundyq";
        else if(cityname=="shijiazhuang")
        Code="n7lohzbxvv8";
        else if(cityname=="shenyang")
        Code="asilwmgkpxu";
        else if(cityname=="shenzhen")
        Code="z8p0ugxtrbe";
        else if(cityname=="shanghai")
        Code="szpbgsnybkm";
        else if(cityname=="sanya")
        Code="q8nfxotwemk";
        else if(cityname=="qingdao")
        Code="vcynexnl_n0";
        else if(cityname=="ningbo")
        Code="vgt4clpzqeg";
        else if(cityname=="nanjing")
        Code="6qieorgerbw";
        else if(cityname=="nanning")
        Code="okzzk0roohm";
        else if(cityname=="nanchang")
        Code="nplggtgxefk";
        else if(cityname=="lhasa")
        Code="fkhzss59p7c";
        else if(cityname=="lanzhou")
        Code="cbcrhig-0q4";
        else if(cityname=="kunming")
        Code="5_lfwy7rmyy";
        else if(cityname=="jinan")
        Code="nyd4hjujpvs";
        else if(cityname=="hohhot")
        Code="z5kkbmmmg88";
        else if(cityname=="hefei")
        Code="xfbev7ldkp0";
        else if(cityname=="harbin")
        Code="y86ndl3ehbc";
        else if(cityname=="hangzhou")
        Code="jt1qxfpccwu";
        else if(cityname=="guangzhou")
        Code="y4zibcly2ia";
        else if(cityname=="guilin")
        Code="sg_8kxvfem4";
        else if(cityname=="chengdu")
        Code="vxfo29giplc";
        else if(cityname=="daqing")
        Code="wwe5vd0fpxw";
        else if(cityname=="fuzhou")
        Code="vjbkjz0olrc";
        else if(cityname=="dalian")
        Code="n8cpav3mczm";
        else if(cityname=="chongqing")
        Code="_gxirgedj4w";
        else if(cityname=="changsha")
        Code="epgndk7p1xq";
        else if(cityname=="changchun")
        Code="aiues_surte";
        if(cityname=="")
            link="/search/?SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
        else
            link="/city/search/g.aspx?cityname="+cityname+"&SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    }
    else if(SNum==1)
        link="http://jobs.echinacities.com/searchjobs/?Key="+$G('TextSeach').value+"&cn="+cityname;
    else if(SNum==2)
        link="http://classifieds.echinacities.com/search/?cityid="+cityid+"&K="+$G('TextSeach').value+"&c=0";
    else if(SNum==5)
        var link="/search/?SNum="+SNum+"&cx="+CodeUser+Code+"&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    else if(SNum==6)
        var link="/search/?SNum="+SNum+"&cx=012119568953210637537%3A8gstcmprrtu&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
    
    if(SNum==1||SNum==2||(SNum==5&&CityOrNo==1)||((CityOrNo==1&&cityname=="")||(CityOrNo==0&&cityname!="")))
        window.open(link);
    else
        window.location=link;
}

function SearchLinkGoogleBack()
{
     var link="/search/?cx=012119568953210637537%3Ad4rcp1spxfa&cof=FORID%3A9&ie=UTF-8&q="+$G('TextSeach').value+"&sa=Search";
     window.open(link);
}

function SearchLink()
{
     var link="/search/?Key="+$G('TextSeach').value;
     window.open(link);
}
	  
function b()
{
    if ($G("TextSeach").value =="") {
        $G("TextSeach").value="Listings, Events, Articles, Jobs, Housing...";
        $G("TextSeach").style.color ="#888";
    }
    else if($G("TextSeach").value=="Listings, Events, Articles, Jobs, Housing...")
    {
	    $G("TextSeach").value ="";
	    $G("TextSeach").style.color ="#000";
    }
    else
    {
        $G("TextSeach").style.color ="#000";
    }
 }
function f() {
		if($G("TextSeach").value=="Listings, Events, Articles, Jobs, Housing...")
        {
	        $G("TextSeach").value ="";
	        $G("TextSeach").style.color ="#000";
        }
        else
        {
            $G("TextSeach").style.color ="#000";
        }
}

function ImagesDisplay(num)
{
   for(var i=1;i<=6;i++)
    {
        $G("HottopicsImagesText"+i).style.display="none";
        $G("Hotlink"+i).className="";
    }
    $G("HottopicsImagesText"+num).style.display="block";
    $G("Hotlink"+num).className="syjdia";
}


function openWin(u, w, h) {
            var l = (screen.width - w) / 2;
            var t = (screen.height - h) / 2;
            var s = 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l;
            s += ',toolbar=no, scrollbars=yes, menubar=yes, location=no, resizable=no';
            open(u, 'oWin', s);
      }
 

function EventRemmjs(StrDaAndWeek,ji)
{
    $G("DivGetNwoDate").innerHTML=StrDaAndWeek;//"<p class=\"font\">"+StrDa+"</p><p>"+StrWeek+"</p>";
    for(var a=1;a<=7;a++)
    {
        $G("liEventdate"+parseInt(a-1)).className="";
        $G("DivEvdrCon"+a).style.display="none";
    }
    $G("liEventdate"+parseInt(ji-1)).className="dateHover";
    $G("DivEvdrCon"+ji).style.display="block";
}

function ShowOrHideIndexImage(ObjName,ObjthisID)
{
    var Objd=$G(ObjName);
    
    if(Objd.style.display=="none")
    {
		ObjthisID.innerHTML="<img class='more' src='/images/fcMore.gif'>MORE CATEGORIES<img class='more' src='/images/fcMore.gif'></a>";
	}
    else
    {
		ObjthisID.innerHTML="<img class='more' src='/images/fcMoreup.gif'>BACK<img class='more' src='/images/fcMoreup.gif'></a>";
	}
}

function NaOnMouse(objID)
{
    objID.className="hover";
}

function NaOutMouse(objID)
{
    objID.className="";
}

function ContentEmailCheck(ObjThis,ObjName,ObjName2)
{
    var ObjN=$G(ObjName);
    var ObjN2=$G(ObjName2);
    if(ObjN.value=="1")
    {
        ObjThis.checked=false;
        ObjN.value="0";
    }
    else
    {
        ObjN.value="1";
        ObjN2.value="0";
    }
}

document.onclick = function (event)   
{
	try 
	{ 
            var e = event || window.event;   
            var elem = e.srcElement||e.target;             
            while(elem)   
            {
                if(elem.id == "SetCity")   
                {   
					//ShowOrHide("selectSearchCity");
                    return;   
                }   
                elem = elem.parentNode;        
            }
			DivdisplayHide("selectSearchCity");
			DivdisplayHide("selectSearchCCity");DivdisplayHide("selectSearchECity");
	} 
	catch(err) 
	{
	}
}
