<!--// display decision alert boxfunction decision(message, url){	if(confirm(message)) location.href = url;}function swapimage() {   var i,j=0,x,a=swapimage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}// open browser windowfunction openPopUp(url, windowName, w, h, scrollbar) {           var winl = (screen.width - w) / 2;           var wint = (screen.height - h) / 2;           winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scrollbar ;		   win = window.open(url, windowName, winprops);           if (parseInt(navigator.appVersion) >= 4) {               	win.window.focus();            } }function jumpMenu(target,object,restore){   eval(target+".location='"+object.options[object.selectedIndex].value+"'");  if (restore) object.selectedIndex=0;}function findObj(n, d) {  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function getImage(imageName){		findObj('img').src = imageName;}function submitDoc(formName) {   var obj; 	if (obj=findObj(formName)!=null) 	{		findObj(formName).submit(); 	}	else 	{		alert('The form you are attempting to submit called \'' + formName + '\' couldn\'t be found. Please make sure the submitDoc function has the correct id and name.');	}}var lastDiv = "";function showDiv(divName) {	// hide last div	if (lastDiv) {		document.getElementById(lastDiv).className = "hiddenDiv";	}	//if value of the box is not nothing and an object with that name exists, then change the class	if (divName && document.getElementById(divName)) {		document.getElementById(divName).className = "visibleDiv";		lastDiv = divName;	}}function ShowHide(id1, id2){	if (id1 != '') toggleview(id1);	if (id2 != '') toggleview(id2);}function toggleview(id){	if ( ! id ) return;		if ( itm = my_getbyid(id) )	{		if (itm.style.display == "none")		{			my_show_div(itm);		}		else		{			my_hide_div(itm);		}	}}function my_getbyid(id){	itm = null;		if (document.getElementById)	{		itm = document.getElementById(id);	}	else if (document.all)	{		itm = document.all[id];	}	else if (document.layers)	{		itm = document.layers[id];	}		return itm;}function my_show_div(itm){	if ( ! itm ) return;		itm.style.display = "";}function my_hide_div(itm){	if ( ! itm ) return;		itm.style.display = "none";}function ShowHide(id1, id2){	if (id1 != '') toggleview(id1);	if (id2 != '') toggleview(id2);}function ShowView(id){	if ( ! id ) return;		if ( itm = my_getbyid(id) )	{		if (itm.style.display == "none")		{			my_show_div(itm);		}	}}function HideView(id){	if ( ! id ) return;		if ( itm = my_getbyid(id) )	{		if (itm.style.display == "")		{			my_hide_div(itm);		}	}}function ChangeColour(id,colour){	if ( ! id ) return;		if ( itm = my_getbyid(id) )	{		itm.style.background = colour;	}}function limitText(limitField, limitCount, limitNum) {	if (limitField.value.length > limitNum) {		limitField.value = limitField.value.substring(0, limitNum);	} else {		limitCount.value = limitNum - limitField.value.length;	}}//-->