function vod (url,streamtitle,customfeatures) {
	windowFeatures = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=200,height=350';

	//Browser Detection
	var browser = "";
	var browsername = navigator.appName;
	var browserversion = parseInt(navigator.appVersion);
	if (browsername == "Netscape") {
	    browser = "ns" + browserversion;
	} else {
	    if (browsername == "Microsoft Internet Explorer") {
	        if (browserversion >= 4) {
	            browser = "ie" + browserversion;
	        } else {
	            browser = "ie3";
	        }
	    }
	}

	if ((customfeatures) && customfeatures != '') {
		windowFeatures = customfeatures;
	}


	if (url.indexOf(".rm",(url.length-10)) != -1) {
		if (browser != 'ie3') {
			hasplugin = 'false';
			numPlugins = navigator.plugins.length;
			for (i = 0; i < numPlugins; i++) {
				plugin = navigator.plugins[i];
				if (plugin.name.substring(0,10)=="RealPlayer") {
					hasplugin = 'true';
				}
			}
			if (browser.substring(0,2) == 'ie') {
				hasplugin = 'true';
			}
			if (hasplugin == 'true') {
				videoWin = window.open (url , 'video', windowFeatures);
				if (streamtitle != '') {
   	 				videoWin.streamtitle=streamtitle;
   				}
//  				videoWin.document.close();		
			} else {
				stream = url.substring(0,(url.length-5));
				location.href=stream + '.ram';
			}
		} else {
			videoWin = window.open (url , 'video', windowFeatures);
			if (document.images) {
				if (streamtitle != '') {
   					videoWin.streamtitle=streamtitle;
   				 }
   			}
//   			videoWin.document.close();			
		}		
	} else {
		videoWin = window.open (url , 'video', windowFeatures);
		if (document.images) {
			if (streamtitle != '') {
		    	videoWin.streamtitle=streamtitle;
		    }
		}
//    	videoWin.document.close();
	}
}




function openWindow (earl,name,widgets) {
	host = location.hostname;
	if (host.indexOf('customnews') != -1) {
		var url = 'http://customnews.cnn.com' + earl;
		} else {
			var url = earl;
			}
	popupWin = window.open (url,name,widgets);
	popupWin.opener.top.name="opener";
	}
	
function livevideo (url,streamtitle,customfeatures) {
windowFeatures = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=200,height=325';

//Browser Detection
var browser = "";
var browsername = navigator.appName;
var browserversion = parseInt(navigator.appVersion);
if (browsername == "Netscape") {
    browser = "ns" + browserversion;
} else {
    if (browsername == "Microsoft Internet Explorer") {
        if (browserversion >= 4) {
            browser = "ie" + browserversion;
        } else {
            browser = "ie3";
        }
    }
}

//if (customfeatures != '') {
//	windowFeatures = customfeatures;
//}

if (url.indexOf("real") != -1) {
	if (browser != 'ie3') {
		hasplugin = 'false';
		numPlugins = navigator.plugins.length;
		for (i = 0; i < numPlugins; i++) {
			plugin = navigator.plugins[i];
			if (plugin.name.substring(0,10)=="RealPlayer") {
				hasplugin = 'true';
			}
		}
		if (browser.substring(0,2) == 'ie') {
			hasplugin = 'true';
		}
		if (hasplugin == 'true') {
			videoWin = window.open (url , 'video', windowFeatures);
			if (streamtitle != '') {
   		 		videoWin.streamtitle=streamtitle;
   		 	}
//   		 	videoWin.document.close();		
		} else {
		stream = url.charAt((url.length-6))
		location.href='http://cnn.com/video/live/live' + stream + '.rm28.ram';
		}
	} else {
		videoWin = window.open (url , 'video', windowFeatures);
		if (document.images) {
			if (streamtitle != '') {
   				videoWin.streamtitle=streamtitle;
   			 }
   		}
//   		videoWin.document.close();			
	}		
} else {
	videoWin = window.open (url , 'video', windowFeatures);
	if (document.images) {
		if (streamtitle != '') {
	    	videoWin.streamtitle=streamtitle;
	    }
	}
//    videoWin.document.close();
}
}

<!-- 
function openWindow1(url) {
	var newBox = window.open (url,'map','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=450');
	window.parent.name = "origional"
	newBox.focus();
	newBox.document.close();
}
// --> 
<!-- 
function openWindow2(url) {
	var newBox = window.open (url,'map','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=180,height=400');
	window.parent.name = "origional"
	newBox.focus();
	newBox.document.close();
}
// --> 

