function openMailWindow(strUrl)
{
			var URL = 'http://sify.com/movies/mailpage.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 278px; height: 252px;scrolling: no;');
			anchor.setAttribute('title', 'Welcome to Sify.com');
			anchor.setAttribute('href', URL);
			anchor.setAttribute('rel', 'lyteframe');				
			//myLytebox.start(anchor, false, true);
			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=252,width=278,scrollbars=no,left='+leftVal+',top='+topVal);
			 }

}


function openPrintWindow(strUrl)
{
			var URL = 'http://sify.com/movies/printer_friendly.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 490px; height: 500px;scrolling: auto;');
			anchor.setAttribute('title', 'Welcome to Sify.com');
			anchor.setAttribute('href', URL);
			anchor.setAttribute('rel', 'lyteframe');				
			//myLytebox.start(anchor, false, true);					
			try
			 {
			  myLytebox.start(anchor,false,true)
			 }
			 catch(err)
			 {
			  var leftVal = (screen.width -490 ) / 2;
			  var topVal = (screen.height -500 ) / 2;
			  newwindow=window.open(URL,'WelcomeToSify','height=500,width=490,scrollbars=auto,left='+leftVal+',top='+topVal);
			 }

}
function openRateitWindow(strUrl)
{

			var URL = 'http://sify.com/movies/rating.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 278px; height: 252px;scrolling: no;');
			anchor.setAttribute('title', 'Welcome to Sify.com');
			anchor.setAttribute('href', URL);
			anchor.setAttribute('rel', 'lyteframe');				
			//myLytebox.start(anchor, false, true);	
			try
			 {
			  myLytebox.start(anchor,false,true)
			 }
			 catch(err)
			 {
			  var leftVal = (screen.width -300 ) / 2;
			  var topVal = (screen.height -280 ) / 2;
			  newwindow=window.open(URL,'WelcomeToSify','height=280,width=300,scrollbars=no,left='+leftVal+',top='+topVal);
			 }
}
function openPostComments(strUrl)
{
	window.open('/fullstory_post_review.php?' + strUrl, 'postcomWin', 'width=475,height=300,scrollbars=no');
}
function openPostInfo(strUrl,w,h)
{
        window.open("/"+strUrl, 'postInfoWin', 'width='+w+',height='+h+',scrollbars=no,left=300,top=200');
}
