function ShowFlash(pth)
{

    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='589' height='277' 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/header.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/header.swf' width='589' height='277' 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 getPath()
{
   var sitePath = pth + "/";
   return sitePath;
}


function Webcam(pth)
{

   if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"RtspVapgCtrl\" WIDTH=500 HEIGHT=400 name=\"RtspVapgCtrl\"");
document.write(" CLASSID=CLSID:73888E2B-FF04-416C-8847-984D7FC4507F");
document.write(" CODEBASE=\"http://69.177.172.230:8083/RtspVaPgDecNew2.cab\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("<PARAM NAME=\"ClickEventHandler\" VALUE=\"3\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://sterling:cooper@69.177.172.230:8083/cgi-bin/control.cgi\">");
document.write("<PARAM NAME=\"ViewStream\" VALUE=\"4\">");
document.write("<PARAM NAME=\"IgnoreCaption\" VALUE=\"1\">"); //ignore 1

document.write("<PARAM NAME=\"ControlType\" VALUE=\"0\">");  //ignore
document.write("</OBJECT>");
}


}
