1373 1075 1893 1251 1251 1324 1178 1841 1144 1809 1041 1008 1093 1105 1511 1110 1343 1563 1098 1018 1733 1145 1627 1133 1555 1023 1034 1476 1234 1395 1832 1629 1691 1411 1006 1139 1772 1651 1271 1169 1726 1423 1225 1887 1480 1205 1787 1487 1026 1266 1327 1772 1690 1498 1207 1788 1861 1693 1109 1546 1861 1902 1586 1124 1287 1645 1795 1714 1840 1446 1879 1980 1444 1826 1251 1143 1123 1760 1434 1320 1273 1336 1382 1553 1261 1268 1232 1880 1920 1229 1076 1283 1417 1909 1927 1573 1194 1269 1959 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() });