\n");
/*test to see if user has real or not*/
if (RealPlayer || RealPlayer8 || RealPlayerMode) /*RealPlayer || RealPlayer8 || RealPlayerG2 || || RealPlayer7*/
{
isRPlayer=true;
}
else
{
isRPlayer=false;
}
/*returns the mlc for the video*/
function themlc(video){if(video.indexOf('&hitboxMLC')!=-1){var me = video.split('&hitboxMLC=');thismlc = me[1];}else{thismlc = 'cbsnews/i_video';}return thismlc;}
/*this function returns the video section Id*/
function getVidId(video){
if(video.indexOf('.')!=-1){var me = video.split('/');first=me[5].split('o');/*alert(me[5]);*/vididpart=first[1].split('.');thisvidid = vididpart[0];}else{thisvidid='LiveWebCast'}
return thisvidid;
}
/*End video sectionID*/
/*Fullscreen function: Creates fullscreen video*/
function full()
{
document.video.AllowChangeDisplaySize = true;
if(video.playState == 3){alert("Please Press the 'Esc' key to return. \nThanks");document.video.fullScreen = 'true';}
}
/*End Fullscreen function:*/
/*this function returns the videotitle*/
function vcliptitle(video){//alert("video: "+ video);
if(video.indexOf('title')!=-1){var two = video.split('title=');
if(two[1].indexOf('hitboxMLC')!=-1){var three = two[1].split('&hitboxMLC=');thisvideotitle=three[0];}else{thisvideotitle = two[1];}
}else{thisvideotitle="CBSNews Video"}
return thisvideotitle
}
/*End video title*/
/*this function returns the videourl for the videoplayer and hitbox*/
function videourl(video){
if(video.indexOf('clip')!=-1){var one = video.split('clip=')}else{var one = video.split('?')}
if(one[1].indexOf('&')!=-1){var vid_str = one[1].split('&');
for(i=0;i';
if(video.indexOf('.wmv')!=-1 || video.indexOf('.asx')!=-1 || video.indexOf('.php')!=-1)
{
fullhtml += ' Full Screen';
}
fullhtml += ' Help';
if(!ns7 && !ns6 && !Mac){document.getElementById('prefs').innerHTML = fullhtml;}else{document.getElementById('prefs').innerHTML = ' Help';}
}
/*This creates the video player*/
function createMediaVideo(video)
{
document.getElementById('thisvideo').innerHTML = "";
var videoClassId = mediaclass(video);
if(video.indexOf('.php')!=-1)
{
var vFile = video.split('clip=');
var videoFile = vFile[1];
}
else
{
var videoFile = playback + videourl(video);
}
printfulltab(video);
videoHTML=('
');
/*alert(videoFile);*/
if(video.indexOf('.wmv')!=-1 || video.indexOf('.asx')!=-1 || video.indexOf('.php')!=-1)
{
if(playerVersion)
{
if(!Mac || !ns6 || !ns7){
videoHTML+= ('');}
}
else
{
document.location.href="help_win.html";//videoHTML+=('You will Need Windows Media Player 9 in order to play this video. Click the following link to download Windows');
}
}
else if(video.indexOf('.rm')!=-1)
{
if(isRPlayer)
{
videoHTML+=('
'); document.getElementById('thisvideo').innerHTML = videoHTML;
title = vcliptitle(video);
/***********************************Hitbox variables******************************/
cbshpn = title.replace(/\$@\$/ig, "+"); /*clip title*/
hitboxVidId = getVidId(video); /*Video Asset Id*/
hitboxPN = cbshpn+"+-+"+hitboxVidId; /*_pn variable*/
hitboxMLC = "/media/"+themlc(video); /*_mlc variable*/
hitboxHC3 = hitboxVidId + "+-+" + cbshpn; /*_hc3 variable*/
hitboxHC2 = "000000+-+section/i_video"; /*_hc2 variable*/
/***********************************End Hitbox variables***************************/
cbsnewsHitbox(hitboxPN,hitboxMLC,hitboxHC1,hitboxHC2,hitboxHC3,"");
}
function cbsnewsHitbox(hitboxPN, hitboxMLC, hitboxHC1, hitboxHC2, hitboxHC3, hitboxHC4)
{
if (hitboxPN == null) {
hitboxPN = '';
}
if (hitboxMLC == null) {
hitboxMLC = '';
}
if (hitboxHC1 == null) {
hitboxHC1 = '';
}
if (hitboxHC2 == null) {
hitboxHC2 = '';
}
if (hitboxHC3 == null) {
hitboxHC3 = '';
}
if (hitboxHC4 == null) {
hitboxHC4 = '';
}
//alert(" pn:"+hitboxPN+" mlc:" + hitboxMLC+ " hc1:"+ hitboxHC1+ " hc2:"+hitboxHC2+ " hc3:"+ hitboxHC3+ " hc4:"+ hitboxHC4);
// Initialize the temporary segment variables
var this_segment = "20"; // Set to the overnight hours segment by default
// Do the time of day testing
var date = new Date();
var hours = date.getHours();
if (hours == 5) { this_segment = "1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 6) { this_segment = "-1,2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 7) { this_segment = "-1,-2,3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 8) { this_segment = "-1,-2,-3,4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 9) { this_segment = "-1,-2,-3,-4,5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 10) { this_segment = "-1,-2,-3,-4,-5,6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 11) { this_segment = "-1,-2,-3,-4,-5,-6,7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 12) { this_segment = "-1,-2,-3,-4,-5,-6,-7,8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 13) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 14) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 15) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,11,-12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 16) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,12,-13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 17) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,13,-14,-15,-16,-17,-18,-19,-20"; }
if (hours == 18) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,14,-15,-16,-17,-18,-19,-20"; }
if (hours == 19) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,15,-16,-17,-18,-19,-20"; }
if (hours == 20) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,16,-17,-18,-19,-20"; }
if (hours == 21) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,17,-18,-19,-20"; }
if (hours == 22) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,18,-19,-20"; }
if (hours == 23) { this_segment = "-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,19,-20"; }
// Set hitbox variables
_acct="DM52100714BB38EN3;DM530910EMZA38EN3;DM540121OLCZ";//account number(s)
_pn=hitboxPN; //page name(s)
_mlc=hitboxMLC; //multi-level content category
_seg=this_segment; // visitor segmentation
_cmp=""; // campaign id
_gp=""; // campaign goal
_cmpn="";// campaign id in query
_gpn=""; // campaign goal in query
_fnl=""; // funnels
_pec=""; // error codes
_fv=""; // form validation function name
_dcmp="";// dynamic campaign
_dcmpn="";//dynamic campaign in query
_hra=""; // response attribute
_hcn=""; // conversion
_hcv=""; // conversion value
_hlt=""; // lead tracking
_hla=""; // lead attribute
_hqsr="";// response attribute in referrer query
_hqsp="";// response attribute in query
_hc1=hitboxHC1; // custom 1
_hc2=hitboxHC2; // custom 2
_hc3=hitboxHC3; // custom 3
_hc4=hitboxHC4; // custom 4
_ci=""; // customer id
_cp="null"; // campaign
_cpd=""; // campaign domain
_pndef="title"; //default page name
_ctdef="full"; //default content category
_dlf="n"; //download filter
_elf="n"; //exit link filter
_dft="n"; // download file tracker variable, set to y to use the name reference
_epg="n"; //event page identifier
_vpc="090000r";
_gn="ehg-cbs.hitbox.com"; //gateway & machine name
//alert(_pn);
//hbe.js,v9.0.2,COPYRIGHT 1997-2003 WEBSIDESTORY, INC. ALL RIGHTS RESERVED. U.S.PATENT No. 6,393,479 B1. Privacy notice at: http://websidestory.com/privacy
var _vjs="090002.02u";
var _hbArray=new Array(),_hbar='',_hud="undefined";_mn="we71";
//alert("end. PN: " + _pn);
newsrc = "http:\/\/"+_gn+"/HG?hc="+_mn+"&cd=1&hv=6&ce=u&hb="+_acct+"&n="+_pn+"&vcon="+_mlc+"&seg="+_seg+"&cmp="+_cmp+"&gp="+_gp+"&fnl="+_fnl+"&pec="+_pec+"&dcmp="+_dcmp+"&ra=&gn="+_gn+"&cv=&ld=&la=&c1="+_hc1+"&c2="+_hc2+"&c3="+_hc3+"&c4="+_hc4+"&vpc=090000rn";
document.getElementById('hitboxImg').src = newsrc;
//alert(" end" + document.getElementById('hitboxImg').src);
}
Edwards Grills KerryRealWin Sen. Edwards questions John Kerry about his desire to change the political machinery of Washington D.C.
Sharpton Cries FoulRealWin Rev. Al Sharpton confronts the debate moderators about his perception that the media is shaping the race for the Democratic nomination.
Debate: Kerry The Liberal?RealWin Senator John Kerry responds to the claim that he's the most liberal senator currently serving and how that will affect his campaign.
Edwards On Being RichRealWin Sen. Edwards was questioned about portraying himself as a 'working man' even though he is considerably wealthy, and the other candidates rushed to Edwards' defense.
The Likability EffectRealWin The candidates address how likability will factor into the election.
Debate: Kucinich On N. KoreaRealWin Rep. Dennis Kucinich comments about how he would treat U.S.-North Korea relations if he were elected president.
Debate: Kerry, Edwards On GodRealWin Sens. Kerry and Edwards discuss whether or not they think God is on the side of the U.S. in foreign affairs.
CBS/NY Times Presidential DebateWin Watch the complete one hour Democratic Presidential Debate sponsored by CBS News, WCBS, and The New York Times. (Available in Windows Media Format only)