function tdListOnClick(obj,className1,className2) {
   
   if (navigator.appName.toLowerCase() == 'netscape' && parseInt(navigator.appVersion) <= 4) {
      return true;
   }
   if(obj.className==className1)
		obj.className=className2;
   else if(obj.className==className2)
		obj.className=className1;
   return true;
}

function cancel(filename)
{
	var check=confirm("Are you sure? Do you want to cancel proccessing?");
	if(check==0){
		return;
	}
	location.href=filename;
}

function tourView(filename)
{
	var h=375;
	var w=400;
	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

	var features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=0,resizable=0,location=0";
	features += ",menubar=0,toolbar=0,status=0";
	window.open(filename,'',features);
}

function slideView(filename)
{
	var h=360;
	var w=290;
	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

	var features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=0,resizable=0,location=0";
	features += ",menubar=0,toolbar=0,status=0";
	window.open(filename,'',features);
}

function weatherView(filename)
{
	var h=350;
	var w=500;
	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

	var features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=0,resizable=0,location=0";
	features += ",menubar=0,toolbar=0,status=0";
	window.open(filename,'',features);
}

function mapView(filename)
{
	var h=450;
	var w=610;
	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

	var features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=0,resizable=0,location=0";
	features += ",menubar=0,toolbar=0,status=0";
	window.open(filename,'',features);
}

function fullView(filename)
{
	var h=600;
	var w=790;
	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

	var features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=1,resizable=1,location=0";
	features += ",menubar=0,toolbar=0,status=1";
	window.open(filename,'',features);
}