function changeLink(page)
{
document.getElementById('vmarquee').innerHTML=page
}
var message="Copyright 2007 BerksFootAnkle.com";
/////////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
//Hide status bar msg script
//configure status message to show
var statusmsg=""
function hidestatus()
{
window.status=statusmsg
return true
}
function calcHeight()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('iframe').contentWindow.
      document.body.scrollHeight;
  //change the height of the iframe
  document.getElementById('iframe').height=
      the_height;
}
function clearDefault(el) 
{
  if (el.defaultValue==el.value) el.value = ""
}
//Menu Bar
 var brname=navigator.appName, BrVer='';
if(brname.substring(0,2)=="Mi")
	BrVer='E';
var timer = 0;
lastid = -1;
function showDdnMenu(id)
{
	if(!((document.all)?document.all['ddnmenu'+id]:document.getElementById('ddnmenu'+id)))
	return;
	clearTimeout(timer);
	if((id != lastid) && (lastid!=-1))
		((document.all)?document.all['ddnmenu'+lastid]:document.getElementById('ddnmenu'+lastid)).style.visibility = 'hidden';
	hideElement("SELECT", document.getElementById('ddnmenu'+lastid));
	lastid = id;
	((document.all)?document.all['ddnmenu'+lastid]:document.getElementById('ddnmenu'+lastid)).style.visibility = 'visible';
}
function hideDdnMenu(id)
{
	if(!((document.all)?document.all['ddnmenu'+id]:document.getElementById('ddnmenu'+id)))
		return;
	showElement("SELECT");
	timer = setTimeout("if('"+id+"' == '"+lastid+"'){((document.all)?document.all['ddnmenu"+lastid+"']:document.getElementById('ddnmenu"+lastid+"')).style.visibility = 'hidden';}", 125)
}
function GetPos(el)
{
	if (!el || !el.offsetParent)return false;
	var res=Array()
	res["left"] = el.offsetLeft;
	res["top"] = el.offsetTop;
	var objParent = el.offsetParent;
	while (objParent.tagName.toUpperCase()!="BODY")
	{
		res["left"] += objParent.offsetLeft;
		res["top"] += objParent.offsetTop;
		objParent = objParent.offsetParent;
	}
	res["right"]=res["left"]+el.offsetWidth;
	res["bottom"]=res["top"]+el.offsetHeight;
	return res;
}
function hideElement(elName, Menu)
{
	if(BrVer!='E') return;
	for (i = 0; i < document.all.tags(elName).length; i++)
	{
		Obj = document.all.tags(elName)[i];
		if(!(pMenu=GetPos(Menu)))continue;
		if(!(pObj=GetPos(Obj)))continue;
		if(pObj["left"]<pMenu["right"] && pMenu["left"]<pObj["right"] && pObj["top"]<pMenu["bottom"] && pMenu["top"]<pObj["bottom"])
			Obj.style.visibility = "hidden";
	}
}
function showElement(elName)
{
	if(BrVer!='E') return;
	for (i = 0; i < document.all.tags(elName).length; i++)
	{
		obj = document.all.tags(elName)[i];
		if (!obj || !obj.offsetParent)continue;
		if(obj.style.visibility=="hidden")
			obj.style.visibility = "visible";
	}
}
//Mouse Over
function a(txt) { self.status = txt } 
function b() { self.status = "" }