// JavaScript Document

function Enlarge(imgsrc)
{
	img=document.getElementById('enlarged_img');
	img.src=imgsrc

}
function ShowEnlarge(stopnow)
{
	div=document.getElementById('enlarged');
	iframe=document.getElementById('e_iframe');
	img=document.getElementById('enlarged_img');
	//s=img.src;
	//alert(s.substring(s.length-9,s.length));
	if (img.src.substring(img.src.length-9,img.src.length)=='blank.gif') return;
	width=img.width+20;	
	height=img.height+30;
	if (width>750) width=750;
	div.style.width=width+'px';
	div.style.left=((document.body.clientWidth/2)-(width/2))+'px';
	if (height>500)
	{
		height=500;
		//div.style.top=0;
	}
	div.style.height=height+'px';
	div.style.display='block';
	iframe.style.left=div.style.left;
	iframe.style.top=div.style.top;
	iframe.style.height=div.style.height;
	iframe.style.width=div.style.width;
	iframe.style.display='block';
	if (!stopnow) ShowEnlarge(true); // for some reason we have to call twice in IE
}
function HideEnlarge()
{
	div=document.getElementById('enlarged');
	div.style.display='none';
	div.style.left='-1000px';
	iframe=document.getElementById('e_iframe');
	iframe.style.display='none';
	iframe.style.left='-1000px';
}

function Show(pane)
	{
	paneError = 'error_'+pane;
	paneLabel = 'p_'+pane;

	//alert(pane +' - ' +paneLabel + ' - ' + paneError);		

		document.getElementById(pane).style.backgroundColor = '#B0B0B0';
		document.getElementById(paneLabel).style.color='#ffffff';
		document.getElementById(paneError).style.color = '#6B1814';
		document.getElementById(paneError).style.display = 'block';
		document.getElementById(paneError).style.visibility = 'visible';
		
	}

function  printProps(obj, objName) {
  var output = "" ;
  for (var prop in obj) {
    output += objName + "." + prop + " = " + obj[prop] + "<br />\n" ;
  }
  return output ;
}

<!-- Overture Services Inc. 07/15/2003
var cc_tagVersion = "1.0";
var cc_accountID = "1235894176";
var cc_marketID =  "1";
var cc_protocol="http";
var cc_subdomain = "convctr";
if(location.protocol == "https:")
{
    cc_protocol="https";
     cc_subdomain="convctrs";
}
var cc_queryStr = "?" + "ver=" + cc_tagVersion + "&aID=" + cc_accountID + "&mkt=" + cc_marketID +"&ref=" + escape(document.referrer);
var cc_imageUrl = cc_protocol + "://" + cc_subdomain + ".overture.com/images/cc/cc.gif" + cc_queryStr;
var cc_imageObject = new Image();
cc_imageObject.src = cc_imageUrl;

