function clearfield(field, defaultvalue) {
if (field.value==defaultvalue) 
	{
	field.value='';
	}
field.style.color='#000000';
field.style.border="thin solid #999999";
}

function focusfield(field) {
field.style.color='#000000';
field.style.border="thin solid #999999";
}

function blurfield(field, color) {

field.style.border="none";
if (color == 'blue')
	{
	field.style.color="#333399";
	}
	else
	{
	field.style.color="#666666";
	}
}

function showbundle(idnum) {
var bundlelist = idnum+'bundlelist';
var bundlelink = idnum+'bundlelink';

document.getElementById(bundlelist).style.display='inline';

document.getElementById(bundlelink).style.display='none';
}

function hidebundle(idnum) {
var bundlelist = idnum+'bundlelist';
var bundlelink = idnum+'bundlelink';

document.getElementById(bundlelist).style.display='none';

document.getElementById(bundlelink).style.display='inline';
}

function popbook(url, title)
{
window.open( url, title, "status = 0, height = 200, width = 300, resizable = 1 dependent = 1" )

}

function GetXmlHttpObject(){var xmlHttp=null;try  {  // Firefox, Opera 8.0+, Safari  xmlHttp=new XMLHttpRequest();  }catch (e)  {  // Internet Explorer  try    {    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");    }  catch (e)    {    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");    }  }return xmlHttp;}



