
    
    
/*
 * Copyright 2010 Capitol Broadcasting Company, Inc.
 */
    
function wral_insert_video_player_6384123(w, h, bgcolor)
{
    if (!w) w = 330;
    if (!h) h = 280 * (w / 330);  // scale proportionally
    if (!bgcolor)  bgcolor = "#ffffff";
    var parameters = "embedded=true&videoInfo=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Cvideo%3E%20%20%3Ctitle%3EN.C.%20pays%20millions%20for%20state%20vehicles%20to%20sit%20parked%3C/title%3E%20%20%3CassetID%3E6384123%3C/assetID%3E%20%20%3CvideoInfo%3Ehttp%3A//www.wral.com/news/local/wral_investigates/video/6384123/%3Fversion%3Dxml%3C/videoInfo%3E%20%20%3Ctimestamp%3E1257813815%3C/timestamp%3E%20%20%3CrequiredAd%20frequency%3D%220%22%20/%3E%20%20%3CserverPath%3Ertmp%3A//media.wral.com/media/video/asset/news/local/wral_investigates/2009/11/09/6384123%3C/serverPath%3E%20%20%3CvideoFile%3E89200-cullen-576x324-15-512%3C/videoFile%3E%20%20%3CfileType%3EFLV%3C/fileType%3E%20%20%20%3Cstatus%3EreadyArchived%3C/status%3E%20%20%3CisLive%3Efalse%3C/isLive%3E%20%20%3CsmallThumbnail%3Ehttp%3A//wwwcache.wral.com/asset/news/local/wral_investigates/2009/11/09/6384123/6384124-1257852175-68x51.jpg%3C/smallThumbnail%3E%20%20%3ClargeThumbnail%3Ehttp%3A//wwwcache.wral.com/asset/news/local/wral_investigates/2009/11/09/6384123/6384124-1257852175-100x75.jpg%3C/largeThumbnail%3E%20%20%3CThumbnail220%3Ehttp%3A//wwwcache.wral.com/asset/news/local/wral_investigates/2009/11/09/6384123/6384124-1257852175-220x165.jpg%3C/Thumbnail220%3E%20%20%3CThumbnail300%3Ehttp%3A//wwwcache.wral.com/asset/news/local/wral_investigates/2009/11/09/6384123/6384124-1257852175-300x225.jpg%3C/Thumbnail300%3E%20%20%3Csection%3EWRAL%20Investigates%3C/section%3E%20%20%3Csection_path%3Enews/local/wral_investigates%3C/section_path%3E%20%20%3Cchannel%3ENews%20%3A%20Local%20News%3C/channel%3E%20%20%3CsubChannel%3ENews%20%3A%20Local%20News%20%3A%20WRAL%20Investigates%3C/subChannel%3E%20%20%3Cdescription%3ENorth%20Carolina%26%23039%3Bs%20state%20motor%20fleet%20is%20more%20than%208%2C500%20vehicles%20strong%20and%20travels%20more%20than%20100%20million%20miles%20each%20year.%20A%20WRAL%20News%20investigation%20found%20that%20some%20state%20agencies%20paid%20millions%20for%20miles%20they%20did%20not%20drive%20and%20others%20had%20questionable%20record-keeping%20practices.%3C/description%3E%20%20%3Clinks%3E%20%20%3C/links%3E%3C/video%3E&";
    parameters = parameters.substring(0, parameters.length - 1);
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="video_6384123" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + w + '" height="' + h + '"><param name="movie" value="http://wwwcache.wral.com/presentation/v1/flash/video/video_mini.swf?v=6" /><param name="FlashVars" value="' + parameters + '" /><param name="quality" value="high" /><param name="bgcolor" value="'+ bgcolor +'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="swLiveConnect" value="true" /><param name="wmode" value="opaque" /><embed bgcolor="'+bgcolor+'" name="video_6384123" src="http://wwwcache.wral.com/presentation/v1/flash/video/video_mini.swf?v=6" FlashVars="' + parameters + '" wmode="opaque" allowScriptAccess="always" swLiveConnect="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + w + '" height="' + h + '"></embed></object>');
}
function video_6384123_DoFSCommand(command, args) { doFSCommand(command, args); }
function doFSCommand(command, args) {
    if (command.substring(0, 10) == 'FSCommand:')
		command = command.substring(10);
    if (command == 'showWarning') {
		// for error messages from the client
		alert(args);
	} else if (command == 'moreVideos' || command == 'kickoffRegular') {
        var w = 773;
        var h = 675;
        if (args.indexOf('http://') == -1)
            args = "http://www.wral.com/" + args;
        window.open(args, 'wral_video', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='
            + w + ',height=' + h + ',left=100,top=100');
        //wral_video.focus();
	} else if (command == 'popupWRAL') {
        var w = 900;
        var h = 675;
        args = "http://www.wral.com/";
        window.open(args, 'wral', 'toolbar=1,scrollbars=1,statusbar=1,menubar=1,resizable=1,width='
            + w + ',height=' + h + ',left=100,top=100');
        //wral.focus();
	}
}
document.write("<script type='text/vbscript' language='VBScript'> \n<!-- \nSub video_6384123_FSCommand(ByVal c1, ByVal a1)\ncall video_6384123_DoFSCommand(c1, a1)\nend sub\n// -->\n<" + "/script>\n");