function openMailWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/indianidol_mail_form.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 480px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}

function openCommentsWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/indianidol_comments_form.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 480px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
	myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}
function messageReplyWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/messageboard/indianidol_reply.php'+"?"+strUrl;
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 480px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');	
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}
function messageAbuseWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	
	var URL = 'http://indianidol.sify.com/messageboard/abuse_form.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 480px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}
function messageEmailWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;

	var URL = 'http://indianidol.sify.com/messageboard/indianidol_sendmail.php'+"?"+strUrl;
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 480px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
	myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}

function videoRateWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/player/video_rate.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'top=250, left=400; width: 475px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}

}

function videoCommentsWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/player/indianidol_comments.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 475px; height: 400px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=400,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}

}

function videoMoreCommentsWindow(strUrl)
{
	myLytebox = new LyteBox();
	myLytebox.showClose=true;
	var URL = 'http://indianidol.sify.com/player/morecomments.php'+"?"+strUrl;	
	var anchor = this.document.createElement('a');
	anchor.setAttribute('rev', 'width: 500px; height: 550px;scrolling: no;');
	anchor.setAttribute('title', 'Welcome to indianidol.sify.com');
	anchor.setAttribute('href', URL);
	anchor.setAttribute('rel', 'lyteframe');
	try
	{
		myLytebox.start(anchor, false, true);
	}
	catch(err)
	{
	  var leftVal = (screen.width -278 ) / 2;
	  var topVal =  (screen.height -252 ) / 2;
	  newwindow=window.open(URL,'WelcomeToSify','height=550,width=500,scrollbars=no,left='+leftVal+',top='+topVal);
	}

}