if(typeof vn_flag == "undefined") {
	vn_flag=0;
}
if(vn_flag!=1) {
document.write ('<div id="cpCntVEN"  style="width:300px;"><br><img align=left src="http://174.129.31.98/ventuno/ajax-loader.gif"></div>');
}
if(typeof vn_more_videos == "undefined") {
	vn_more_videos=0;
}
if(vn_more_videos==1) {
	document.write ('<div style="height: 1141px; opacity: 0; display: none; width: 1008px;" id="tinymask"></div><div style="top: 504px; left: 390.5px; opacity: 0; display: none; width: auto; height: auto;" id="tinybox"><div style="display: block;" id="tinycontent"></div></div>');
}

function getRelatedVideo_VENTUNO(){
	url="http://ventuno.in/cntplayer/content_cp.php?cat="+vn_category+"&partner="+vn_publisher_code+"&moreVideo="+vn_more_videos;
	 var script_id = null;  
	 var script = document.createElement('script');  
	 script.setAttribute('type', 'text/javascript');  
	 script.setAttribute('src', url);  
	 script.setAttribute('id', 'script_id');  
	   
	  script_id = document.getElementById('script_id');  
	  if(script_id){  
	     document.getElementsByTagName('head')[0].removeChild(script_id);  
	  }  
      // Insert <script> into DOM  
	  document.getElementsByTagName('head')[0].appendChild(script);  
}  
 
function callback(data) {  
     txt=data['content'];  
 	 RVcnt=document.getElementById('cpCntVEN');
     RVcnt.innerHTML=txt;      
}  
function showventunodlg() {
	var content2 = "<div style='width:670px;height:495px;'><a href='javascript:hideBox()'><img src='http://ventuno.in/cntplayer/close_icon.gif' align=right style='float:right;border:0'></a><iframe src='http://ventuno.in/cntplayer/videoShowCaseHome.php?partner="+vn_publisher_code+"' width='670px' height='480px' scrolling='vertical' frameborder=0></iframe></div>";
	TINY.box.show(content2,0,0,0,1)
}


function hideBox() {
	TINY.box.hide();
	tmp=1;
}
document.write ('<script type="text/javascript" src="http://174.129.31.98/ventuno/cntplayer/getContent_cp.js?v=0.03"></script>');
if(vn_more_videos==1) {
	document.write('<LINK rel="stylesheet" type="text/css" href="http://174.129.31.98/ventuno/cntplayer/styleVenCP.css"><script type="text/javascript" src="http://174.129.31.98/ventuno/cntplayer/tinyboxVenCP.js"></script>');
}

getRelatedVideo_VENTUNO();