function getSWF(swWidth, swHeight, swFile, swWmode)
	{
		var str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+swWidth+' height='+swHeight+' VIEWASTEXT>';
		str += ' <param name="movie" value="'+swFile+'" /> ';
		str += ' <param name="quality" value="high" /> ';
		// wmode = window, transparent, opaque
		str += ' <param name="wmode" value="'+swWmode+'" /> ';
		str += ' <embed src='+swFile+' width='+swWidth+' height='+swHeight+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> ';
		str += ' </object> ';
		document.write(str);
	}
	
function getSWFmas1(swWidth, swHeight, swFile, swWmode)
	{
		var str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+swWidth+' height='+swHeight+' VIEWASTEXT>';
		str += ' <param name="movie" value="'+swFile+'" /> ';
		str += ' <param name="quality" value="high" /> ';
		// wmode = window, transparent, opaque
		str += ' <param name="wmode" value="'+swWmode+'" /> ';
		str += ' <embed src='+swFile+' width='+swWidth+' height='+swHeight+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> ';
		str += ' </object> ';
		document.write(str);
	}
function getSWFmas2(swWidth, swHeight, swFile, swWmode)
	{
		var str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+swWidth+' height='+swHeight+' VIEWASTEXT>';
		str += ' <param name="movie" value="'+swFile+'" /> ';
		str += ' <param name="quality" value="high" /> ';
		// wmode = window, transparent, opaque
		str += ' <param name="wmode" value="'+swWmode+'" /> ';
		str += ' <embed src='+swFile+' width='+swWidth+' height='+swHeight+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> ';
		str += ' </object> ';
		document.write(str);
	}		



/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=yes,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->

