Файл: gamele.ru/js/cityPage.js
Строк: 41
<?php
ShowLocation = function(){
var count = 1;
var BuildLoc = '';
BuildLoc += '<map name="links" id="links">';
JsonLoc = eval(JsonLoc);
for (var json in eval(JsonLoc['locations'])){
json = eval(JsonLoc['locations'][count++]);
BuildLoc += '<area shape="POLYGON" href="'+json['link']+'" coords="'+json['cords']+'" onmouseover="tooltip(this,'<b>'+json['loc']+'</b>')" onmouseout="hide_info(this)" >';
}
BuildLoc += '</map>';
BuildLoc += '<table cellpadding="0" cellspacing="0" border="0" align="center" width="760"><tr><td><img src="http://image.gamele.ru/1x1.gif" width="1" height="10" /></td></tr><tr><td width="760" height="255" style="position:relative;" background="http://image.gamele.ru/locations/cities/'+JsonLoc['image']+'.jpg"><img src=http://image.gamele.ru/1x1.gif width="760" height="255" border="0" usemap="#links" /></td></tr><tr><td><img src="http://image.gamele.ru/1x1.gif" width="1" height="3" /></td></tr></table>';
// $('#GameContent').html(BuildLoc);
document.write(BuildLoc);
}
/*
jLoadModule = function(){
ShowButton();
ShowLocation();
}
*/
?>