if (!useRedirect) {
  if (window.location.href.indexOf("https") == -1)
  {
  sitePath="http://www.2-funky.co.uk/";
  sURL = "http://";
  }
  else
  {
	 sitePath="https://www.2-funky.co.uk/";  
	 sURL = "https://";
	}
   var oeTags ='';
  if(hasRightVersion) {
	var oeTags = oeTags + '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'WIDTH="770" HEIGHT="124"'
    + 'CODEBASE="'+sURL+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<PARAM NAME="MOVIE" VALUE="'+sitePath+'flash/banner.swf">'
    + '<PARAM NAME="PLAY" VALUE="true">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
    + '<PARAM NAME="MENU" VALUE="false">'
    + '<EMBED SRC="'+sitePath+'flash/banner.swf"'
    + 'WIDTH="770" HEIGHT="124"'
    + 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
    + 'MENU="false"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'PLUGINSPAGE="'+sURL+'www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
    + '<\/EMBED>'
    + '<\/OBJECT>';
  } else {
   var alternateContent = '<img src="'+sitePath+'images/layout/top_banner.jpg" width="770" height="123" alt="2-funky"/>';
    var oeTags = oeTags + alternateContent;
  }
	document.write(oeTags);
}