function writeActiveX(myarg){

var w=658
var h=314
var map = myarg


    var obj_str = "";
obj_str += "<table width=\"100%\" border=\"0\"> ";
obj_str += "<tr>";
obj_str += "<td>";
obj_str += "</tr>";
obj_str += "<tr>";
obj_str += "<td align=\"center\"> ";
    obj_str += "<object classid=\"CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000\" ";
    obj_str += "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" ";
    obj_str += "width=\"" + w + "\" height=\"" + h + "\"> ";
    obj_str += "<param name=\"MOVIE\" value=\"CoP_6a.swf\"> ";
    obj_str += "<param name=\"QUALITY\" value=\"high\"> ";
    obj_str += "<embed src=\"CoP_6a.swf\" ";
    obj_str += "quality=\"high\"  ";
    obj_str += "pluginspage=\"http://www.macromedia.com/go/getflashplayer\"  ";
    obj_str += "type=\"application/x-shockwave-flash\"  ";
    obj_str += "width=\"" + w + "\"  ";
    obj_str += "height=\"" + h + "\"> ";
    obj_str += "</embed> ";
    obj_str += "</object> ";
    obj_str += "</td>";
    obj_str += "</tr>";
    document.getElementById("awcontent").innerHTML = obj_str;

}

function loadAWContent(){

	var myarg = new String()
	myarg = location.search

	if(myarg == "")
	{
	
		writeActiveX("start.aam")
		document.getElementById("footer").style.display = "none";

	}else{
		

		myarg = myarg.substring(1,myarg.length)
		
	        writeActiveX(myarg)

		if((myarg=="mm.aam")||(myarg=="start.aam")){
		   document.getElementById("footer").style.display = "none";
		}else{
		   document.getElementById("footer").style.display = "block";
	   	}

	}

}

function initialise(){


	loadAWContent()

}

