// JavaScript Document
window.onload = function () { 
//setVars();
}

function loadmovie(country, city, theme) {
var str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="541" height="477" id="egypt" />\n';
str += '<param name="movie" value="Maps/' + theme + '/' + country + '/' + city + '.swf" />\n';
str += '<param name="quality" value="high" />\n'; 
str += '<param name="wmode" value="transparent" />\n'; 
str += '<param name="swliveconnect" value="true" />\n';
str += '<embed src="Maps/' + theme + '/' + country + '/' + city + '.swf" width="541" height="477" name="egypt" swliveconnect="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"/>\n'; 
str += '</embed>\n';
str += '</object>\n';
return str;
}


function loadmovie2(country, city) {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="541" height="477" id="egypt" />\n');
document.write('<param name="movie" value="Maps/' + country + '/' + city + '_ar.swf" />\n'); 
document.write('<param name="quality" value="high" />\n'); 
document.write('<param name="wmode" value="transparent" />\n'); 
document.write('<param name="swliveconnect" value="true" />\n');
document.write('<embed src="Maps/' + country + '/' + city + '_ar.swf" width="541" height="477" name="egypt" swliveconnect="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"/>\n'); 
document.write('</embed>\n'); 
document.write('</object>\n');
} 



function getMovie(movieName) { 

if (window.document[movieName]) { 
return window.document[movieName]; 
} 
if (navigator.appName.indexOf("Microsoft Internet")==-1) { 
if (document.embeds && document.embeds[movieName]) 
return document.embeds[movieName]; 
} 
else // if (navigator.appName.indexOf("Microsoft Internet")!=-1) 
{ 
return document.getElementById(movieName); 
} 
} 

function setVars(varr1) { 
var flashMovie=getMovie("egypt"); 
flashMovie.SetVariable("/:city", varr1);
	} 

function hoverHtml(dlnkid){
	
	}

function outHtml(dlnkid){
	
	}

function goToArea(areaid){
	
	}

function doRedirect(red){
	
	}

