
if (document.location.href == 'http://patricksroadhouse.info/index.html' ||
	document.location.href == 'http://patricksroadhouse.info/' ||
	document.location.href == 'http://www.patricksroadhouse.info/index.html' ||
	document.location.href == 'http://www.patricksroadhouse.info/')
	{
		isHome = true;
	}else {
		isHome = false;
	}		

function createFlash( objName , objFile , objW , objH )
{
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="' +  objW +'" '
	+ 'height="' + objH +'" '
	+ 'id="' + objName +'" '
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param ' 
	+ 'name="movie" ' 
	+ 'value="' + objFile +'" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" />'
    + '<embed ' 
	+ 'src="' + objFile +'" quality="best" wmode="transparent" bgcolor="#000000" '
    + 'width="' + objW +'" ' 
	+ 'height="'+ objH +'" ' 
	+ 'name="' + objName + '" ' 
	//flashObject
	
	+ 'align="middle" '
    + 'play="true" '
    + 'loop="false" '
    + 'quality="high" '
    + 'allowScriptAccess="sameDomain" '
    + 'type="application/x-shockwave-flash" '
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer"> '
    + '<\/embed>'
    + '<\/object>';
	//alert(oeTags);
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = ' '
  	//+ 'This content requires the Macromedia Flash Player.'
   	//+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
	+ '<img src="images/site_CloversOnly.gif" width="804" height="764">';
	
    document.write(alternateContent);  // insert non-flash content
  }


}
