// IE HAX - circumvent "feature" of IE that requires clicking to activate active content

var iefx_writeFlash = function(langId) {
var htmlout = "";
var url=window.location+"";

if (url.indexOf('langId=-16')>-1){
	htmlout += "<object id='topISnav' type='application/x-shockwave-flash' data='swf/navIS_v7_fr.swf?home=IS_index.jsp%3FlangId%3D-16&about=about_mike.jsp&store=http%3A%2F%2Fwww.homedepot.ca%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FDisplayTemplate%3FstoreId%3D10051%26catalogId%3D10051%26langId%3D-16%26display%3Dstore_locator' width='767' height='106' wmode='transparent'>";
	htmlout += "<param name='movie' value='swf/navIS_v7_fr.swf?home=IS_index.jsp%3FlangId%3D-16&about=about_mike.jsp&store=http%3A%2F%2Fwww.homedepot.ca%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FDisplayTemplate%3FstoreId%3D10051%26catalogId%3D10051%26langId%3D-16%26display%3Dstore_locator' />";
	htmlout += "<param name='quality' value='high' />";
	htmlout += "<param name='wmode' value='transparent' />";
	htmlout += "</object>";	
}else{
	htmlout += "<object id='topISnav' type='application/x-shockwave-flash' data='swf/navIS_v6_en.swf?home=IS_index.jsp%3FlangId%3D-15&about=about_mike.jsp&store=http%3A%2F%2Fwww.homedepot.ca%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FDisplayTemplate%3FstoreId%3D10051%26catalogId%3D10051%26langId%3D-15%26display%3Dstore_locator' width='767' height='106' wmode='transparent'>";
	htmlout += "<param name='movie' value='swf/navIS_v6_en.swf?home=IS_index.jsp%3FlangId%3D-15&about=about_mike.jsp&store=http%3A%2F%2Fwww.homedepot.ca%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FDisplayTemplate%3FstoreId%3D10051%26catalogId%3D10051%26langId%3D-15%26display%3Dstore_locator' />";
	htmlout += "<param name='quality' value='high' />";
	htmlout += "<param name='wmode' value='transparent' />";
	htmlout += "</object>";	
}

document.write(htmlout);

}

iefx_writeFlash();

