// JavaScript Document
function showCard(code) { 
	document.write('<object id="flash_ecard" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="598" height="300">');
	document.write('<param name="movie" value="../ecards/loader.swf?code=' + code + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="SCALE" value="exactfit">');
	document.write('<embed name="flash_ecard"  src="../ecards/loader.swf?code=' + code + '" width="598" height="300" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit"></embed>');
	document.write('</object>');
	
	
	//var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;  //  IE and Navgiator have slightly different document object models
    //  IE treats objects as members of "window" while in Navigator, 
    //  embedded objects are members of "window.document"
	
}