

function load_Play_List(nav_section_id) {

	
		
                if(nav_section_id == "navNext_Up") {
         
                  document.getElementById('My_Play_Box').style.display='none';
	            document.getElementById('Play_Box').style.display='block';
                  document.getElementById('playnextbutton').style.backgroundImage="url('/images/site3/pushedbutton.gif')"; 
                  document.getElementById('playlistbutton').style.backgroundImage="url('/images/site3/upbutton.gif')"; 
                 

                  document.getElementById('playnextbutton').style.color='#fff'; 
                  document.getElementById('playlistbutton').style.color='#000';
                 		}
		else {
             	 document.getElementById('Play_Box').style.display='none';

			document.getElementById('My_Play_Box').style.display='block';
	
                 	
                  document.getElementById('playnextbutton').style.backgroundImage="url('/images/site3/upbutton.gif')"; 
                  document.getElementById('playlistbutton').style.backgroundImage="url('/images/site3/pushedbutton.gif')"; 

 document.getElementById('playnextbutton').style.color='#000'; 
                  document.getElementById('playlistbutton').style.color='#fff'; 

	}

}

function load_Page (id,linkid) {


                   
          
                 document.getElementById(linkid).style.color="#5787b0"; 

 if (id<9) {var sid=parseInt(id)+1;} else {var sid=1;}   
 if (id<9) {var tlinkid='al'+sid;} else {var tlinkid='al1';}     
 if (id<9) {var btlinkid='bl'+sid;} else {var btlinkid='bl1';}        
 blinkid='bl'+id;
 var temp='vpage'+sid;
 document.getElementById(temp).style.display='block'; 
 document.getElementById(tlinkid).style.display='block';
 document.getElementById(blinkid).style.display='none'; 
 document.getElementById(btlinkid).style.display='block'; 

 document.getElementById(linkid).style.display='none'; 


for (i=1; i<=9;i++)
{


tid='vpage'+i;
if (tid!=temp)  {

document.getElementById(tid).style.display='none'; 

}

}
		

}



function load_Page2 (id,linkid) {


                   
          
                 document.getElementById(linkid).style.color="#5787b0"; 
     if (id>1) {var sid=parseInt(id)-1;} else {var sid=9;}            
    if (id>1) {var tlinkid='bl'+sid;} else {var tlinkid='bl9';}        
 if (id>1) {var btlinkid='al'+sid;} else {var btlinkid='al9';}        
 blinkid='al'+id;

     var temp='vpage'+sid;
 document.getElementById(temp).style.display='block'; 
 document.getElementById(tlinkid).style.display='block'; 
 document.getElementById(linkid).style.display='none'; 
 document.getElementById(blinkid).style.display='none'; 
 document.getElementById(btlinkid).style.display='block'; 


for (i=1; i<=9;i++)
{


tid='vpage'+i;
if (tid!=temp)  {

document.getElementById(tid).style.display='none'; 
}

}
		


}

function setbackgr (id)

{ 
sid='l'+id; 

document.getElementById(sid).style.backgroundImage="url('/images/site3/videoselected.gif')";
document.getElementById(sid).style.backgroundPosition = "98% 98%";
document.getElementById(sid).style.backgroundRepeat = "no-repeat";

var kl;

document.getElementById(sid).style.cursor='pointer';
sid='t'+id; 
document.getElementById(sid).style.backgroundImage="url('/images/site3/videoall.gif')";
document.getElementById(sid).style.backgroundPosition = "bottom right";
document.getElementById(sid).style.backgroundRepeat = "no-repeat";

}

function delbackgr (id)

{

document.getElementById(id).style.backgroundImage="url('')";

document.getElementById(id).style.cursor='text';
sid='t'+id; 
document.getElementById(sid).style.backgroundImage="url('')";
sid='l'+id; 

document.getElementById(sid).style.backgroundImage="url('')";

}




function hidepopup (id)
{
if (id!='popup4') 
{
    if (id=='popup30') document.getElementById('popup3').style.display='none';
    else { document.getElementById(id).style.display='none';
    parent.document.getElementById('thebanner').style.visibility='visible';


              }
} else

{
document.getElementById(id).style.display='none';
parent.document.getElementById('popup3').style.visibility='visible';


}

}


function setbg (sid)

{ document.getElementById(sid).style.backgroundImage="url(''/images/site3/vvideoall.gif')"; 
document.getElementById(sid).style.backgroundPosition = "bottom right";
document.getElementById(sid).style.backgroundRepeat = "no-repeat";
document.getElementById(sid).style.cursor='pointer';
}

function delbg (sid)

{
document.getElementById(sid).style.backgroundImage="";
document.getElementById(sid).style.cursor='text';

}


function showpopup (id){

document.getElementById(id).style.display='block';


}

