function ShowFlash(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='1349' height='580' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='header'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/home_gallery.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='opaque'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/home_gallery.swf' width='1349' height='580' PLAY='true' LOOP='true' WMODE='opaque' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function ShowCharity(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='440' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='charity_golf'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/charitygolfoutings.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/charitygolfoutings.swf' width='560' height='440' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function ShowStaff(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='450' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='staff'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/staff_new.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/staff_new.swf' width='560' height='450' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function ShowMembership(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='440' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='membership'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/membership.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/membership.swf' width='560' height='440' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}


function ShowExperience(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='530' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='experience'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/experience_new.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/experience_new.swf' width='560' height='530' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}


function ShowExperience2(pth)
{

    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,2,0' width='640' height='385' id='vrabbit-external-0.2' style='display: block; margin: 0 auto'>");
    document.write("<param name='allowScriptAccess' value='sameDomain'>");
    document.write("<param name='allowFullScreen' value='true'>");
    document.write("<param name='movie' value='http://media.virtualrabbit.com/viewer/ext10.swf?id=694&tour=7634&bc=0'>");
    document.write("<param name='quality' value='high' /><param name='bgcolor' value='#ffffff'>");
    document.write("<embed src='http://media.virtualrabbit.com/viewer/ext10.swf?id=694&tour=7634&bc=0' quality='high' bgcolor='#ffffff' width='640' height='385' name='vrabbit-external-0.2' align='middle' allowscriptaccess='sameDomain' allowfullscreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function ShowBeasley(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='450' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='experience'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/images/design/beasley.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/images/design/beasley.swf' width='560' height='450' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function ShowPgaFeed(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='756' height='603' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' ID='pga'>");
    document.write("<PARAM NAME='MOVIE' VALUE='" + pth + "/pga_feed.swf'>");
    document.write("<PARAM NAME='PLAY' VALUE='true'>");
    document.write("<PARAM NAME='LOOP' VALUE='true'>");
    document.write("<PARAM NAME='WMODE' VALUE='transparent'>");
    document.write("<PARAM NAME='QUALITY' VALUE='high'>");
    document.write("<EMBED SRC='" + pth + "/pga_feed.swf' width='756' height='603' PLAY='true' LOOP='true' WMODE='transparent' QUALITY='high' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>");
    document.write("</EMBED>");
    document.write("</OBJECT>");

}

function getPath()
{
   var sitePath = pth + "/";
   return sitePath;
}

var nCount=0;
function showLogin()
{     
   if(nCount<1) {
	 document.getElementById("mo_login").style.display="block";
	 nCount += 1;
   }else if(nCount==1) {
	  document.getElementById("mo_login").style.display="none";
	  nCount=0;
   }
}