function OpenDialogWindow(url,width,height)
{
	window.showModalDialog(url,"Dialog Box Arguments","dialogHeight:"+height+"px; dialogWidth:"+width+"px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes; scroll:No; status: No");
}

//Function to jump to another page
function PageJump(URL) {
	if (URL.options[URL.selectedIndex].value != "") self.location.href = URL.options[URL.selectedIndex].value;
	return true;
}

function resizepic(LimitWidth)
{
  var i=0;
  while (i < document.all.tags("img").length);
  {
    if (document.all.tags("img")[i].id=='resizethispic');
    {
      PicWidth=document.all.tags("img")[i].width;
      if(PicWidth>LimitWidth);
      {
          document.all.tags("img")[i].width=LimitWidth;
      }
    }
  i++;
  }
}

function SetCookie (name,value,expires,path,domain,secure) {
document.cookie = name + "=" + escape (value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
}

function t(p){location.href=p;}