﻿
function myiSoundPop()
{
  var pop = window.open("isoundplayer.htm","isound_layer","location=0,status=0,toolbar=0,scrollbars=0,width=415,height=220");
  pop.moveTo(500,400);
}

function my4thDPop(url)
{
  var pop = window.open(url,"4thDlayer_layer","location=1,status=0,toolbar=1,scrollbars=1,width=400,height=400,resizable=1");
}


function show(iframeName, url) {

  if ( window.frames[iframeName] ) {
    window.frames[iframeName].location = url;   
    return false;
  }
  else return true;
}  
  function framecheck()
  { 
    if (window.id != "ContentIF")
    {
        window.location.href="home.html";
    }
  }
function onMouseOvr(ctrl, img)
{
 var item = document.getElementById(ctrl);
item.style.backgroundImage= "url(" + img + ")";
}

function onMouseOut(ctrl, img)
{
var item = document.getElementById(ctrl);
item.style.backgroundImage= "url(" + img + ")";
}

function onClick(ctrl)
{
clearSel();

var item = document.getElementById(ctrl);
item.style.backgroundColor = "#ffff33";

}
function clearSel()
{
var coll = document.getElementsByTagName("li");
var i;

	for (i = 0;i< coll.length;i++)
	{
        coll[i].style.backgroundColor='#ff9900';
	}
}

function DoNav(url)
{
document.location.href= url;
}