<!-- BEGIN

//----------------------------------------------------------------------------//
function launch_player(theURL) { 
	window.open(theURL,'Player','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=375,height=460');
}
//----------------------------------------------------------------------------//
function formHandler1(search){
	var URL = document.search.newsite.options[document.search.newsite.selectedIndex].value;
	window.location.href = URL;
}
//----------------------------------------------------------------------------//
function Start_Scrollbars(page) {
   OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=636,height=450");
}
//----------------------------------------------------------------------------//
function Start(page) {
   OpenWin = this.open(page,"CtrlWindow","toolbar=no,menubar=no,location=no,scrollbars=auto,resizable=no,width=636,height=450");
}
//----------------------------------------------------------------------------//
function popup(theURL,winName,features) {
	window.open(theURL,winName,features);
}
//----------------------------------------------------------------------------//
/*use this to launch the interactives*/
function PopUp(url,w,h) {
	var dim = eval('"width=' + w + ',height=' + h + '"');
	Npop = window.open(url,"pop",dim);
}
//----------------------------------------------------------------------------//
/*this function launches the videoplayer*/
function vlaunch(file) {
	if (navigator.appName == "Navigator" && navigator.appVersion.indexOf('3') >= 0) {
		if(confirm("We\'re sorry, the CBS video player requires a version 4 broswer\nClick ok to continue to our browser download page\n Hit cancel to return")) {
			window.open('story_112201.html', '', '');
		} 
	} else {	
		var nWin = 'http://www.cbsnews.com/htdocs/videoplayer/video_template.html?' + file;
		window.open(nWin, 'cbsnews_video', 'width=350,height=460,scrollbars=no,resize=no,location=no,status=no');
	}
}
//----------------------------------------------------------------------------//
/*used to launch and refresh the CBSNews market tracker*/	
var randnum = Math.round(Math.random() * 3000000);
//path vars
var djia = "http://cbs.marketwatch.com/charts/gifquotes/fp-tabchart-djia.gifquote?rand=" + randnum;
var nasdaq = "http://cbs.marketwatch.com/charts/gifquotes/fp-tabchart-nas.gifquote?rand=" + randnum;
var sp = "http://cbs.marketwatch.com/charts/gifquotes/fp-tabchart-sp500.gifquote?rand=" + randnum;
	
function reFresh(whichmap,myImg){
	// changes source of FP gifquote
	var newImg = new Image();
	newImg.src = myImg;
	document.FPgifquote.src = newImg.src
}
//----------------------------------------------------------------------------//
function popupPage() {
	var page = "/ads/jobsok_popup.html";
	windowprops = "height=310,width=500,location=no," + "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";
	window.open(page, "Popup", windowprops);
}

//----------------------------------------------------------------------------//
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//----------------------------------------------------------------------------//
function MM_showHideLayers(i,p,v) { //v6.0
	if ((obj=document.getElementById(i))!=null) { 
		if (obj.style) { 
			obj=obj.style; 
			v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
		}
		obj.visibility=v; 
	}
}
//----------------------------------------------------------------------------//
function init() { }
//----------------------------------------------------------------------------//
// End -->
