function cookieGMT(d) { var curdt=new Date(); if (curdt.getMonth()==12) curdt=new Date(curdt.getYear(),d,curdt.getDate()); curdt=new Date(curdt.getYear(),curdt.getMonth()+d,curdt.getDate()); return curdt.toGMTString(); } function funcNew1(y) { var surl='mapr.html?mode='+intmode+'&map='+y; location.href=surl; } function ShowCount() { var map='World_01'; var vis=11; var surl='http://design/scripts/ymap.dll/mapr.html?map='+map+'&vis='+vis+'&mode='+intmode; location.href=surl; } function SelMode(intmd) { if (intmd=='js') { document.images['st'].src='images/radioon.gif'; document.images['pr'].src='images/radiooff.gif';} else { document.images['st'].src='images/radiooff.gif'; document.images['pr'].src='images/radioon.gif';} document.cookie='mode='+intmd+';expires='+cookieGMT(1); intmode=intmd; return false; } function getParam(s,param,delim) { if (s==null) return null; var params=s.split(delim); for(j=0;j0) { lay=lay.substring(len+1); layer_ID='help'+lay;} else layer_ID='help'; eval(layerTag+'["'+layer_ID+'"]'+styleTag).visibility='visible'; } function topLayer() { if(screen.width <= 800){ eval(layerTag+'["help"]'+styleTag+'.top=99'); eval(layerTag+'["help1"]'+styleTag+'.top=99'); eval(layerTag+'["help2"]'+styleTag+'.top=99'); eval(layerTag+'["help3"]'+styleTag+'.top=99'); eval(layerTag+'["help4"]'+styleTag+'.top=99'); eval(layerTag+'["help5"]'+styleTag+'.top=99'); eval(layerTag+'["help6"]'+styleTag+'.top=99'); eval(layerTag+'["help7"]'+styleTag+'.top=99'); eval(layerTag+'["help8"]'+styleTag+'.top=99'); eval(layerTag+'["help9"]'+styleTag+'.top=99'); eval(layerTag+'["help10"]'+styleTag+'.top=99'); eval(layerTag+'["help11"]'+styleTag+'.top=99'); eval(layerTag+'["help12"]'+styleTag+'.top=99'); eval(layerTag+'["help13"]'+styleTag+'.top=99'); } } function showLayer(layerName) { if (layer_ID) { eval(layerTag+'["'+layer_ID+'"]'+styleTag).visibility='hidden'; } eval(layerTag+'["'+layerName+'"]'+styleTag).visibility='visible'; layer_ID=layerName; }