Файл: gamele.ru/js/FormUp_v01.js
Строк: 48
<?php
$ = function(id){
return document.getElementById(id);
}
FormPopUp = function(id){
if($(id).style.display == 'none'){
$(id).style.display = 'block';
}else if($(id).style.display == 'block'){
$(id).style.display = 'none';
}
}
document.write('<div id="darker" style="display:none;"><table cellspacing="0" cellpadding="0" width="300" style="position:relative;width:300px; top:'+((document.documentElement.clientHeight/2-60))+'px; margin:0 auto;" id="DarkSize"> <tr> <td style="width:18px;height:18px;"><div style="position:absolute; width:30px; height:30px; background:url(http://image.gamele.ru/closebox.png) no-repeat;right:0px;top:0px;cursor:pointer;" onclick="FormPopUp('darker');"> </div><img src="http://image.gamele.ru/FormUp/left_top.png" width="18" height="18"></td> <td style="height:18px;background-image:url('http://image.gamele.ru/FormUp/top.png');"></td> <td style="width:18px;height:18px;"><img src="http://image.gamele.ru/FormUp/right_top.png" width="18" height="18"></td> </tr> <tr> <td style="width:18px;background-image:url('http://image.gamele.ru/FormUp/left.png');"></td> <td style="background-image:url('http://image.gamele.ru/FormUp/bg.png');" align="center"><div id="ContentPopUp"><img src="http://image.gamele.ru/loader.gif"></div></td> <td style="width:18px;background-image:url('http://image.gamele.ru/FormUp/right.png');"></td> </tr> <tr> <td style="width:18px;height:18px;"><img src="http://image.gamele.ru/FormUp/left_bottom.png" width="18" height="18"></td> <td style="height:18px;background-image:url('http://image.gamele.ru/FormUp/bottom.png');"></td> <td style="width:18px;height:18px;"><img src="http://image.gamele.ru/FormUp/right_bottom.png" width="18" height="18"></td> </tr></table></div>');
?>