1723 1415 1308 1270 1021 1637 1436 1092 1743 1612 1795 1904 1111 1808 1413 1964 1732 1620 1575 1849 1400 1655 1998 1914 1151 1705 1894 1932 1764 1861 1046 1312 1203 1818 1824 1376 1150 1060 1779 1889 1500 1877 1201 1399 1548 1141 1084 1371 1387 1067 1855 1434 1474 1153 1469 1182 1635 1362 1868 1801 1020 1008 1396 1393 1569 1994 1903 1429 1923 1628 1625 1360 1870 1095 1483 1152 1838 1608 1541 1016 1460 1534 1437 1739 1546 1751 1178 1430 1833 1785 1421 1818 1098 1492 1426 1750 1518 1249 1247 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() });