//default

 function WriteSwf() {
	document.write("<OBJECT id='myFlash' codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'");
	document.write("height='160' width='560' align='middle' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'");
	document.write("VIEWASTEXT>");
	document.write("<PARAM NAME='_cx' VALUE='4604'>");
	document.write("<PARAM NAME='_cy' VALUE='3704'>");
	document.write("<PARAM NAME='FlashVars' VALUE=''>");
	document.write("<PARAM NAME='Movie' VALUE='/files/bookshop/swfs/flashAd.swf'>");
	document.write("<PARAM NAME='Src' VALUE='/files/bookshop/swfs/flashAd.swf'>");
	document.write("<PARAM NAME='WMode' VALUE='Window'>");
	document.write("<PARAM NAME='Play' VALUE='-1'>");
	document.write("<PARAM NAME='Loop' VALUE='-1'>");
	document.write("<PARAM NAME='Quality' VALUE='best'>");
	document.write("<PARAM NAME='SAlign' VALUE=''>");
	document.write("<PARAM NAME='Menu' VALUE='false'>");
	document.write("<PARAM NAME='Base' VALUE=''>");
	document.write("<PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>");
	document.write("<PARAM NAME='Scale' VALUE='ShowAll'>");
	document.write("<PARAM NAME='DeviceFont' VALUE='0'>");
	document.write("<PARAM NAME='EmbedMovie' VALUE='0'>");
	document.write("<PARAM NAME='SWRemote' VALUE=''>");
	document.write("<PARAM NAME='MovieData' VALUE=''>");
	document.write("<PARAM NAME='SeamlessTabbing' VALUE='1'>");
	document.write("<PARAM NAME='Profile' VALUE='0'>");
	document.write("<PARAM NAME='ProfileAddress' VALUE=''>");
	document.write("<PARAM NAME='ProfilePort' VALUE='0'>");
	document.write("<embed src='/files/bookshop/swfs/flashAd.swf' quality='best' width='560' height='160'");
	document.write("name='MainMenu' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash'");
	document.write("pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</OBJECT>");
}

 function WriteDBSwf() {
	document.write("<OBJECT codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'");
	document.write("height='320' width='195' align='middle' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'");
	document.write("VIEWASTEXT>");
	document.write("<PARAM NAME='_cx' VALUE='4604'>");
	document.write("<PARAM NAME='_cy' VALUE='3704'>");
	document.write("<PARAM NAME='FlashVars' VALUE=''>");
	document.write("<PARAM NAME='Movie' VALUE='/files/bookshop/swfs/dbAdvert.swf'>");
	document.write("<PARAM NAME='Src' VALUE='/files/bookshop/swfs/dbAdvert.swf'>");
	document.write("<PARAM NAME='WMode' VALUE='Window'>");
	document.write("<PARAM NAME='Play' VALUE='-1'>");
	document.write("<PARAM NAME='Loop' VALUE='-1'>");
	document.write("<PARAM NAME='Quality' VALUE='best'>");
	document.write("<PARAM NAME='SAlign' VALUE=''>");
	document.write("<PARAM NAME='Menu' VALUE='false'>");
	document.write("<PARAM NAME='Base' VALUE=''>");
	document.write("<PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>");
	document.write("<PARAM NAME='Scale' VALUE='ShowAll'>");
	document.write("<PARAM NAME='DeviceFont' VALUE='0'>");
	document.write("<PARAM NAME='EmbedMovie' VALUE='0'>");
	document.write("<PARAM NAME='SWRemote' VALUE=''>");
	document.write("<PARAM NAME='MovieData' VALUE=''>");
	document.write("<PARAM NAME='SeamlessTabbing' VALUE='1'>");
	document.write("<PARAM NAME='Profile' VALUE='0'>");
	document.write("<PARAM NAME='ProfileAddress' VALUE=''>");
	document.write("<PARAM NAME='ProfilePort' VALUE='0'>");
	document.write("<embed src='/files/bookshop/swfs/dbAdvert.swf' quality='best' width='195' height='320'");
	document.write("align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash'");
	document.write("pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</OBJECT>");
}