﻿function OpenUrl(newLocation)
{
	window.parent.location.href = newLocation;
}

function MouseOverPlay()
{
    document.getElementById('playButton').style.backgroundImage = "url(img/play_button_hover.png)";
}

function MouseOutPlay()
{
    document.getElementById('playButton').style.backgroundImage = "url(img/play_button.png)";
}

function ShowSWFObject(fileUrl)
{
    var flashVars_swfObject = {
        file : fileUrl
        ,
        autostart : 'true'
        ,
        width : '675'
        ,
        download : 'http://www.oovoo.com/Download.aspx'
        ,
        moreinfo : 'http://www.oovoo.com/How-to-oovoo.aspx'
    };
        var params_swfObject = {
    };
        var attributes_swfObject = {
    };
        swfobject.embedSWF('include/flvplayer.swf', 'swfObject_swfContent', '675', '380', '7.0', '', flashVars_swfObject, params_swfObject, attributes_swfObject);
}

function showFlash()
{
    document.getElementById('flashContainer').style.display = '';
    document.getElementById('imageContainer').style.display = 'none';
}

function hideFlash()
{
    document.getElementById('flashContainer').style.display = 'none';
    document.getElementById('imageContainer').style.display = '';
}

function CloseFlashPlayer()
{

    hideFlash();
}

var content = document.getElementById('t_content');
if (content)
{
    content.dir = 'ltr';
}

function TrackStart()
{
    pageTracker._trackPageview('website/video/howvideochat/start');
}

function TrackTenSec()
{
    pageTracker._trackPageview('website/video/howvideochat/10sec');
}

function TrackEnd()
{
    pageTracker._trackPageview('website/video/howvideochat/end');
}

                                          
              
                        