function chimg(e,img){e.style.background='url('+img+')';}
function chbg(e,v,c){e.style.backgroundColor=v;if(c==1) e.style.cursor='pointer';}
var elem_tags=new Array();var hidden_tags=new Array();
function show_tags(tag){if(!tag){show_tags('select');show_tags('object');return true;}hidden_tags[tag]--;if(hidden_tags[tag]==0){e2=document.body.getElementsByTagName(tag);for (i=0; i<e2.length; i++){if(elem_tags[e2[i]]){e2[i].style.visibility=elem_tags[e2[i]];}else{e2[i].style.visibility='visible';}}}}
function hide_tags(tag){if(!tag){hide_tags('select');hide_tags('object');return true;}e2=document.body.getElementsByTagName(tag);if(!hidden_tags[tag]){hidden_tags[tag]=1;for (i=0; i<e2.length; i++){elem_tags[e2[i]]=e2[i].style.visibility;e2[i].style.visibility='hidden';}}else{hidden_tags[tag]++;}}
function chbgtrtd(e,v,c){if(typeof(document.getElementsByTagName)!='undefined'){e2=e.getElementsByTagName('td');}else if (typeof(theRow.cells) != 'undefined'){e2=e.cells;}else{return false;}for (i=0; i<e2.length; i++){e2[i].style.backgroundColor=v;}if(c==1) e.style.cursor='pointer';}
function pokazukryj(id){e=document.getElementById(id);if(e){if(e.style.display=="none"){pokaz(id);}else{ukryj(id);}}}
var pokazane='';
function pokaz(id){pokazane=id;e=document.getElementById(id);if(e) e.style.display="block";}
function ukryj(id){pokazane='';e=document.getElementById(id);if(e) e.style.display="none";}
function pokazinline(id){pokazane=id;e=document.getElementById(id);if(e) e.style.display="inline";}
function ukryjinline(id){pokazane='';e=document.getElementById(id);if(e) e.style.display="none";}
function ukryj2(id){pokazane='';setTimeout("ukryj3('"+id+"');",1000);}
function ukryj3(id){if(pokazane==''){ukryj(id);}}
function przelacz(id1,id2){pokaz(id2);ukryj(id1);}
function przelaczinline(id1,id2){pokazinline(id2);ukryjinline(id1);}
function kwotatxtnum(txt){var i;var tmp;var z;var num=0;var p=-1;tmp="";for (i=0; i<txt.length; i++){z=txt.substr(i,1);if(z==" ") z="";if(z==",") {z=".";p=i;}if(z==".") {z=".";p=i;}tmp=tmp+z;}num=tmp*1;if(isNaN(num)) num=0;return num;}
function kwotanumtxt(v){var v1;var v2;var txt;var m;m=false;v=v*1;if(isNaN(v)) v=0;if(v<0){m=true;v=-v;}v1=Math.round(v-0.499999);v2=v-v1;v2=v2*100;v2=Math.round(v2-0.499999);txt=v1;txt=txt+",";if(v2<10) txt=txt+"0";txt=txt+v2;if(m){txt="-"+txt;}return txt;}
function num(n){n=parseFloat("12.34");if(isNaN(n)) n=0;return n;}
function isnumber(n){q=false;if(n-1==n-1) q=true;return q;}
function mrbg(id,bg1,bg2,z){e=document.getElementById(id);if(z==1){e.style.backgroundColor=bg2;}else{e.style.backgroundColor=bg1;}setTimeout("mrbg('"+id+"','"+bg1+"','"+bg2+"',"+(1-z)+")",500);}
function przelacz(id1,id2){var e=document.getElementById(id1);var f=document.getElementById(id2);if(e && f){e.style.display='none';f.style.display='block';}}
function newwin(url,x,y,w,h,s,t){window.open(url,t,'width='+w+',height='+h+',left='+x+',top='+y+',scrollbars='+s+',toolbar=0,location=0,resizable='+s+',status=0');}
function openwin(url,w,h){var x=Math.floor((screen.availWidth-w)/2);var y=Math.floor((screen.availHeight-h)/2);window.open(url,'','width='+w+',height='+h+',left='+x+',top='+y+',scrollbars=1,menubar=0,toolbar=0,location=0,resizable=1,status=0');}
function help(topic){openwin('http://pomoc.amigobonus.com/'+topic+'.html',640,480);}
function resizewin2(){x=window.outerWidth;y=document.body.offsetHeight+window.outerHeight-window.innerHeight;if(x>screen.availWidth) x=screen.availWidth;if(y>screen.availHeight) y=screen.availHeight;window.resizeTo(x,y);window.moveTo(Math.floor((screen.availWidth-window.outerWidth)/2),Math.floor((screen.availHeight-window.outerHeight)/2));}
function flashloadmovie(id,lvl,url){}
function flashsetvariable(id,z,w){}
function flashmovie(name){if(navigator.appName.indexOf("Microsoft")!=-1){return window[name];}else{return document[name];}}
function confirmedLink( aMsg, aLink ){var is_confirmed = confirm( aMsg + ' ?');if( is_confirmed ){document.location.href = aLink;}}
var activemenu= 0;var maxmenus  = 90;
function showActiveMenu(){elem=document.getElementById(activemenu);if( elem ) if( elem.style ) elem.style.display="block";}
function showMenu(id){e=document.getElementById(id);if( e.style ){activemenu=id;setTimeout("showActiveMenu()",35);}}
function closeMenu(){for( i=0; i<maxmenus; i++ ) if( e=document.getElementById('tmenu'+i) ){if(activemenu!='tmenu'+i) if( e.style ){e.style.display="none";}}}
function hideMenu(id){activemenu =0;setTimeout('closeMenu()',25);}
var bubble=0;var tbubble=0;var maxbubbles=10;
function showBubble(id,idtxt){e  = document.getElementById(id);txt= document.getElementById(idtxt);if(e) if( e.style ){bubble=id;e.style.display="";tbubble = setTimeout("hideBubble(bubble)",2500);}}
function hideBubble(id){ clearTimeout(tbubble); bubble=0; for( i=0; i<maxbubbles; i++ ) if( e=document.getElementById('tb'+i) ){if(bubble!='tb'+i) if( e.style ){e.style.display="none";}}}
function printFrame(aFrame){if( parent[aFrame] ){parent[aFrame].focus();parent[aFrame].print();}}
function showTab(ltab){var tab = document.getElementById(ltab);if(tab) if(tab.style){a = tab.style.display;if( a=='none' ) tab.style.display='';else tab.style.display='none';}}
function showLoading(aelem, atxt){aelem.innerHTML = atxt;}
function loadElement(lname, lurl, lwait, ltxt){if( lwait && ltxt ){atxt = ltxt;atitle = top.document.getElementById(lwait);if( atitle ) setTimeout('showLoading(atitle,atxt)',500);}if(frames[lname]){aframe = frames[lname];aframe.location.href=lurl;}}
function copyFromFrame(aSource, aTarget){source = document.getElementById(aSource);target = parent.document.getElementById(aTarget);if( source && target ) target.innerHTML=source.innerHTML;}
var submitform=new Array();
function submitForm(id){if(submitform[id]==true){return false;}submitform[id]=true;return true;}
function disableElement(id,on){element = document.getElementById(id);if(element) element.disabled = on;}
function ulubione(url,title){if(document.all) window.external.AddFavorite(url, title);else if (window.sidebar) window.sidebar.addPanel(title, url, "")}
function visible(id){ e=document.getElementById(id); if(e) e.style.visibility="visible";}
function invisible(id){e=document.getElementById(id);if(e) e.style.visibility="hidden";}
function lockblock(id){if(document.all){document.getElementById(id).style.top=document.body.scrollTop;setTimeout("lockblock('"+id+"')",100);}else{document.getElementById(id).style.position='fixed';document.getElementById(id+'-r').style.height=document.images[id+'-h'].height;}}
function refreshpage(t,s){if(t>0){if(s){e=document.getElementById(s);e.innerHTML=e.innerHTML+".";}setTimeout("refreshpage("+(t-1)+",'"+s+"')",1000);}else{location.reload();}}
var helpview=false;
function showhelp(id){if(document.getElementById(id).style.display!='block'){}if(helpview!=id){helpview=id;document.getElementById(id).style.visibility='hidden';document.getElementById(id).style.display='block';}x=mousex+pagex1+20;y=mousey+pagey1+20;xx=document.getElementById(id).offsetWidth;yy=document.getElementById(id).offsetHeight;if(x+xx>pagex2){if(x>xx+20) x=mousex+pagex1-xx-20;}if(y+yy>pagey2) y=pagey2-yy;document.getElementById(id).style.left=x;document.getElementById(id).style.top=y;document.getElementById(id).style.visibility='visible';}
function hidehelp(id){helpview=false;document.getElementById(id).style.display='none';}
var mouseClick=false;var mousex=0;var mousey=0;var pagew=0;var pageh=0;var pagex1=0;var pagex2=0;var pagey1=0;var pagey2=0;var winw=0;var winh=0;
function mousemove(e){if(document.all){mousex=event.clientX;mousey=event.clientY;pagex1=document.body.scrollLeft;pagey1=document.body.scrollTop;pagex2=document.body.clientWidth-20+document.body.scrollLeft;pagey2=document.body.clientHeight-20+document.body.scrollTop;winw=document.body.clientWidth-20;winh=document.body.clientHeight-20;}else if (document.getElementById){mousex=e.pageX-window.pageXOffset;mousey=e.pageY-window.pageYOffset;pagex1=window.pageXOffset;pagey1=window.pageYOffset;pagex2=window.innerWidth-20+window.pageXOffset;pagey2=window.innerHeight-20+window.pageYOffset;winw=window.innerWidth-20;winh=window.innerHeight-20;}if(helpview){showhelp(helpview);}}
if(document.layers) document.captureEvents(Event.MOUSEMOVE);document.onmousemove=mousemove;
function setFormValue(f,n,v){if(f){e=eval('document.'+f+'.'+n);if(e) e.value=v;}else{for (var i=0; i<document.forms.length; i++){e=eval('document.forms['+i+'].'+n);if(e){e.value=v;return true;}}}}
function isNumber(n){if(n*1==n) return true;return false;}
function disbranza(id,on){var selid = id;var i=0;do{element = document.getElementById(selid);if(element) element.disabled = on;selid = id+i++;}while( i<5 );}
function selectoption(f,url,v,t){return selectregion(f,url,v,t);}
function selectregiontmp(f,url,v){if(v==-1){txt=prompt("Wprowadź","");if(txt){selregion.location.href=url+':'+txt;}else{selregion.location.href=url;}}else{selregion.location.href=url+v;}}
function gotourl(url,frm){if(frm){document[frm].location.href=url;}else{document.location.href=url;}}
function folder_open_close(id){var e=document.getElementById('fldspan'+id);if(!e) return false;if(e.style.display!='none'){e.style.display='none';}else{e.style.display='block';}}
function folder_open(id){var e=document.getElementById('fldspan'+id);if(!e) return false;e.style.display='block';if(e2) e2.value='1';}
function email(login,domena){var mail=login;mail=mail+'@';mail=mail+domena;document.write("<a href='mailto:"+mail+"'>"+mail+"</a>");}
function awindow(url,width,height){var x=(screen.width/3.5);var y=(screen.height/4.5);var Win = window.open(url,"awindow",'width=' + width + ',height=' + height + ',left=' + x + ',top=' + y + ',resizable=0,scrollbars=no,menubar=no' );}
function aswindow(url,width,height){var x=(screen.width/3.5);var y=(screen.height/3.5);var Win = window.open(url,"aswindow",'width=' + width + ',height=' + height + ',left=' + x + ',top=' + y + ',resizable=0,scrollbars=no,menubar=no' );}
function selectregion(f,url,v){if(v==-1){txt=prompt("Wprowadź","");if(txt){selregion.location.href=url+':'+txt;}else{selregion.location.href=url;}}else{selregion.location.href=url+v;}}
function wybierzpkd(x,y,txt){var aform;for (i=0; i<window.opener.document.forms.length; i++){if(window.opener.document.forms[i].pkwiutxt){aform = window.opener.document.forms[i];}}if(aform.pkwiutxt){z=confirm("Jesteś pewien, że chcesz wybrać "+x+" - \""+txt+"\"?");if(z){if(aform.pkdtxt){aform.pkdtxt.value=x+" "+txt;}aform.pkwiutxt.value=x;aform.pkwiu.value=y;aform.pkdtxth.value=txt;pkdtxt = window.opener.document.getElementById("pkdtxt");if(pkdtxt) pkdtxt.innerHTML=txt;window.close();}else{history.back(1);}}}
function brakpkd(){var aform;if( document.form ) aform = document.form;else if( document.forms[0] ) aform = document.forms[0];aform.pkwiu.value=0;aform.pkwiutxt.value="";aform.pkdtxth.value="";pkdtxt=document.getElementById("pkdtxt");if( pkdtxt ) pkdtxt.innerHTML="";}
function chbgtrtd(e,v,c){if(typeof(document.getElementsByTagName)!='undefined'){e2=e.getElementsByTagName('td');}else if (typeof(theRow.cells) != 'undefined'){e2=e.cells;}else{return false;}for (i=0; i<e2.length; i++){e2[i].style.backgroundColor=v;}if(c==1) e.style.cursor='pointer';}
var refresh=false;
function refreshpage(){if(refresh) document.location.reload();}
function confirmlink(pytanie,url){if(confirm(pytanie)){document.location.href=url;}}
function geturl(url){if(url) document.location.href=url;}
function dechex(a){var b="";var a1=Math.floor(a/16);var a2=a-a1*16;a1=a1+48;if (a1>57) a1=a1+7;a2=a2+48;if (a2>57) a2=a2+7;b=chr(a1)+chr(a2);return b;}
var divs=new Array();
function divs_add(id,show){setTimeout("divs['"+id+"']="+show+";",500);}
function divs_del(id){divs[id]=0;}
function divs_sh(){for (var i in divs){if(divs[i]==-1){var e=document.getElementById(i);if(e){e.style.display="none";divs[i]=0;}}else if (divs[i]==1){var e=document.getElementById(i);if(e){e.style.display="inline";divs[i]=0;}}}}
function printpage(){var e=document.getElementById('print');if(e) e.style.display='none';window.print();if(e){setTimeout("document.getElementById('print').style.display='block';",1000);}}
function liczba_txt_num(txt){var num=0;var tmp="";var dod=false;for (i=0;i<txt.length;i++){dod=false;z=txt.substr(i,1);if(z==" ") z="";if(z==",") {z=".";p=i;dod=true;}if(z==".") {z=".";p=i;dod=true;}if(z>="0" && z<="9") dod=true;if(dod) tmp=tmp+z;}num=(tmp)*1;if(isNaN(num)) num=0;return num;}
function liczba_num_txt(num){var txt="";var tmp=new Array();var txt1="";var txt2="";num=""+num;tmp=num.split(".");txt1=tmp[0];if(tmp.length>1) txt2=tmp[1]; else txt2="0";if(txt2!="0"){txt=txt1+","+txt2;}else{txt=txt1;}return txt;}
function kwota_txt_num(txt){return liczba_txt_num(txt);}
function kwota_num_txt(num){var txt="";var tmp=new Array();var txt1="";var txt2="";if(num===undefined) num=0;num=Math.round(num*100)*0.01;num=""+num;tmp=num.split(".");txt1=tmp[0];if(tmp.length>1) txt2=tmp[1]; else txt2="0";if(txt2*1<10) txt2=txt2+"0";txt2=txt2.substring(0,2);return txt1+","+txt2;}
function kwota2_txt_num(txt1,txt2){var num=0;num=(txt1+"."+txt2)*1;if(isNaN(num)) num=0;return num;}
function kwota2_num_txt(num){var txt="";var tmp=new Array();var txt1="";var txt2="";num=""+num;tmp=num.split(".");txt1=tmp[0];if(tmp.length>1) txt2=tmp[1]; else txt2="0";if(txt2*1<10) txt2=txt2+"0";return new Array(txt1,txt2);}
function kwota_num_txt3(num){var txt=kwota_num_txt(num);var i=0;var j=txt.search(",");if(j==-1) j=txt.length;for (i=j-3;i>0;i-=3) txt=txt.substring(0,i)+" "+txt.substring(i);return txt;}
function liczba_num_txt3(num){var txt=liczba_num_txt(num);var i=0;var j=txt.search(",");if(j==-1) j=txt.length;for (i=j-3;i>0;i-=3) txt=txt.substring(0,i)+" "+txt.substring(i);return txt;}
function kwota_zaokr(num){num=Math.round(num*100)*0.01;return num;}
function isset(zmienna){if(typeof(window[zmienna])!="undefined") return true; else return false;}
function class_change(id,classname){var e=document.getElementById(id);if(e) e.className=classname;}
function filtruj(fn,dn,wn,pn){var i=0;var j=0;var k=0;var e=false;var d=false;var w=false;var pna=pn.split(",");var pokaz=false;var ile=0;while (e=document.getElementById(dn+"."+i)){pokaz=true;for (j in pna){k=pna[j];d=document.forms[fn][dn+"."+i+"."+k].value;w=document.forms[fn][wn+"."+k].value;if(w && d!=w) pokaz=false;}if(pokaz){ile++;e.style.display="block";}else{e.style.display="none";}i++;}e=document.getElementById(dn+".-1");if(ile==0){e.style.display="block";}else{e.style.display="none";}}
function setCookie(name, value, expires, path, domain, secure){document.cookie= name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");}
function getCookie(name){var dc = document.cookie;var prefix = name + "=";var ct = 2;var begin = dc.indexOf("; " + prefix);var begin2 = dc.indexOf(";" + prefix);if(begin == -1 && begin2 > -1) {begin = begin2; ct = 1;}if(begin == -1){begin = dc.indexOf(prefix);if(begin != 0) return null;}else{begin += ct;}var end = document.cookie.indexOf(";", begin);if(end == -1){end = dc.length;}return unescape(dc.substring(begin + prefix.length, end));}
function szukaj_focus(){document.getElementById('qs1').style.display='none';document.getElementById('qs2').style.display='inline';document.qsform.qstxt.value='';document.qsform.qs.focus();}
var menu_timer=false;var menu_id=false;var menu_img=new Array();
function menu_pokaz(id){var e=false;var n=1;var img="";var p=0;if(menu_id && menu_id!=id){e=document.getElementById(menu_id);if (e) e.style.display="none";var n=1;while (document.getElementById(menu_id+"n"+n)){e=document.getElementById(menu_id+"n"+n);if(menu_img[menu_id+"n"+n]) e.style.backgroundImage=menu_img[menu_id+"n"+n];n++;}}if(menu_timer) clearTimeout(menu_timer);e=document.getElementById(id);if (e) e.style.display="block";while (document.getElementById(id+"n"+n)){e=document.getElementById(id+"n"+n);img=e.style.backgroundImage;if(img){if(!menu_img[id+"n"+n]) menu_img[id+"n"+n]=img;if(menu_img[id+"n"+n]==img){p=img.lastIndexOf("-hover.");if(p>=0){}else{p=img.lastIndexOf(".");if(p>=0){img=img.substring(0,p)+"-hover"+img.substring(p);e.style.backgroundImage=img;}}}}n++;}menu_id=id;}
function menu_ukryj(id){menu_timer=setTimeout("menu_ukryj_timer('"+id+"');",100);}
function menu_ukryj_timer(id){var e=false;e=document.getElementById(id);if (e) e.style.display="none";var n=1;while (document.getElementById(id+"n"+n)){e=document.getElementById(id+"n"+n);if(menu_img[id+"n"+n]) e.style.backgroundImage=menu_img[id+"n"+n];n++;}menu_timer=false;menu_id=false;}
function rgbtohex(r,g,b){var rgb=65536*r+256*g+b;var hex=rgb.toString(16);while (hex.length<6) hex="0"+hex;hex="#"+hex;return hex;}
function hextorgb(hex){var rgb=0;if(hex.substr(3,1)=="#"){rgb=parseint(substr(1),16);}var r=Math.floor(rgb/65536);rgb=rgb-65536*r;var g=Math.floor(rgb/256);rgb=rgb-256*g;var b=Math.floor(rgb);rgb=rgb-b;return new Array(r,g,b);}
var winimgs=new Array();winimgs[0]=new Image();winimgs[0].src="/img/main/winbg.png";winimgs[1]=new Image();winimgs[1].src="/img/main/winb11.png";winimgs[2]=new Image();winimgs[2].src="/img/main/winb12.png";winimgs[3]=new Image();winimgs[3].src="/img/main/winb13.png";winimgs[4]=new Image();winimgs[4].src="/img/main/winb21.png";winimgs[5]=new Image();winimgs[5].src="/img/main/winb23.png";winimgs[6]=new Image();winimgs[6].src="/img/main/winb31.png";winimgs[7]=new Image();winimgs[7].src="/img/main/winb32.png";winimgs[8]=new Image();winimgs[8].src="/img/main/winb33.png";winimgs[9]=new Image();winimgs[9].src="/img/main/winx.png";winimgs[10]=new Image();winimgs[10].src="/img/main/winxh.png";
function win_open(id){var main=document;if (parent!=self) main=parent.document;var html=(document.getElementById(id)?document.getElementById(id).innerHTML:"");txt=typeof(txt)!='undefined'?txt:false;if(!main.getElementById("windiv")){main.body.innerHTML="<div id='windiv' style='display: none; position: fixed; z-index: 200; left: 0px; top: 0px; width: 100%; height: 100%; background-image: url(img/main/winbg.png); text-align: center;'><div id='winhtml' style='margin: 0px auto; width: 400px; background-color: #ffffcc; color: #000000; text-align: left;'></div></div>"+main.body.innerHTML;}main.getElementById("windiv").style.display="block";main.getElementById("winhtml").style.width="400px";main.getElementById("winhtml").style.height="";if(txt) html=html.replace("[txt]",txt);main.getElementById("winhtml").innerHTML=html;var bw=main.body.offsetWidth;var bh=main.body.offsetHeight;var hw=document.getElementById(id).offsetWidth;var hh=document.getElementById(id).offsetHeight;var ww=main.getElementById("winhtml").offsetWidth;var wh=main.getElementById("winhtml").offsetHeight;if(document.getElementById(id).style.width) ww=parseInt(document.getElementById(id).style.width);if(document.getElementById(id).style.height) wh=parseInt(document.getElementById(id).style.height);if(hw>ww) ww=hw;if(hh>wh) wh=hh;var py=Math.floor((bh-wh)/2);if(py<30) py=30;main.getElementById("winhtml").style.width=(ww)+"px";main.getElementById("winhtml").style.height=(wh)+"px";main.getElementById("winhtml").style.marginTop=py+"px";var html="";html=html+"<img src=\"/img/main/winb11.png\" width=\"40\" height=\"40\" style=\"position: absolute; display: block; margin-left: -40px; margin-top: -40px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb12.png\" width=\""+ww+"\" height=\"40\" style=\"position: absolute; display: block; margin-left: 0px; margin-top: -40px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb13.png\" width=\"40\" height=\"40\" style=\"position: absolute; display: block; margin-left: "+ww+"px; margin-top: -40px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb21.png\" width=\"40\" height=\""+wh+"\" style=\"position: absolute; display: block; margin-left: -40px; margin-top: 0px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb23.png\" width=\"40\" height=\""+wh+"\" style=\"position: absolute; display: block; margin-left: "+ww+"px; margin-top: 0px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb31.png\" width=\"40\" height=\"40\" style=\"position: absolute; display: block; margin-left: -40px; margin-top: "+wh+"px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb32.png\" width=\""+ww+"\" height=\"40\" style=\"position: absolute; display: block; margin-left: 0px; margin-top: "+wh+"px;\" onload=\"this.style.display='block';\" />";html=html+"<img src=\"/img/main/winb33.png\" width=\"40\" height=\"40\" style=\"position: absolute; display: block; margin-left: "+ww+"px; margin-top: "+wh+"px;\" onload=\"this.style.display='block';\" />";html=html+"<a href=\"javascript:win_close();\" onmouseover=\"przelacz('winx','winxh');\" onmouseout=\"przelacz('winxh','winx');\"><img src=\"/img/main/winx.png\" id=\"winx\" border=\"0\" width=\"50\" height=\"20\" style=\"position: absolute; display: block; margin-left: "+(ww-50)+"px; margin-top: -25px;\" onload=\"this.style.display='block';\" /><img src=\"/img/main/winxh.png\" id=\"winxh\" border=\"0\" width=\"50\" height=\"20\" style=\"position: absolute; display: none; margin-left: "+(ww-50)+"px; margin-top: -25px;\" /></a>";main.getElementById("winhtml").innerHTML=html+main.getElementById("winhtml").innerHTML;}
function win_close(){var main=document;if (parent!=self) main=parent.document;main.getElementById("windiv").style.display="none";}
