1377 1021 1015 1677 1460 1032 1850 1343 1030 1190 1781 1913 1482 1750 1174 1783 1442 1967 1450 1533 1387 1761 1098 1542 1011 1850 1204 1506 1895 1611 1251 1621 1198 1150 1231 1559 1248 1856 1424 1476 1129 1227 1087 1019 1989 1051 1023 1932 1260 1871 1765 1109 1749 1360 1362 1608 1160 1825 1569 1230 1474 1797 1955 1720 1810 1706 1019 1588 1780 1941 1784 1633 1384 1191 1302 1510 1704 1273 1034 1874 1583 1419 1393 1370 1956 1315 1860 1683 1406 1197 1297 1484 1013 1660 1751 1893 1112 1937 1320 function ugreybox_go(wh){ tmp=wh.attributes.rel.value; //alert("go to" +tmp); var thediv=getobj('ugreyboxtopdiv'); thediv.style.display = "block"; var thediv=getobj('ugreyboxpagebg'); thediv.style.display = "table-cell"; var thediv=getobj('ugreyboxpageIF'); thediv.src= tmp; var thediv=getobj('ugreyboxpageHeadertext'); thediv.innerHTML= wh.innerText ; return false; } function initalizeugreybox(){ //alert(initalizeugreybox); var closeasreload="no"; var ugbas = document.getElementsByTagName("a"); for (i = 0; i < ugbas.length; i++) { if (ugbas[i].attributes.rel) { if(ugbas[i].attributes.rel.value=="gb_page_fs[]"){ var rel = ugbas[i].attributes.rel.value; var href = ugbas[i].attributes.href.value; //ugbas[i].style.color="#ff0000"; ugbas[i].attributes.href.value="javascript:void(null);"; ugbas[i].attributes.rel.value=href; ///////////////////////////////// addEvent(ugbas[i], 'click', function(){ ugreybox_go(this); return false; }); //////////////////////////////// //relcloseasreload if (ugbas[i].attributes.relcloseasreload) { closeasreload="yes"; //alert(1); } } } } //prepare frame var ugbtag=document.createElement('div'); ugbtag.setAttribute("id", "ugreyboxtopdiv"); document.getElementsByTagName('body')[0].appendChild(ugbtag); ugbobj=getobj("ugreyboxtopdiv"); ugbobj.style.height="100%"; ugbobj.style.width="100%"; ugbobj.style.position="fixed"; ugbobj.style.top="0px"; ugbobj.style.left="0px"; ///ugbobj.style.overflow="hidden"; ugbobj.style.zIndex="10000"; ugbobj.style.verticalAlign="middle"; if (closeasreload=="no") { ugbobj.innerHTML='
Header


 
'; } else { ugbobj.innerHTML='
Header


 
'; } ugreybox_hide(); } function ugreybox_hide(){ var thediv=getobj('ugreyboxtopdiv'); thediv.style.display = "none"; var thediv=getobj('ugreyboxpagebg'); thediv.style.display = "none"; return false; } addEvent(window, 'load', function(){ initalizeugreybox() });