function openMailWindow(strUrl)
{
			var URL = 'http://sify.com/sports/cricket/ipl/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');				
			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/sports/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');				
			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);
			 }
			//myLytebox.start(anchor, false, true);					
			//return false;
			

}
function openRateitWindow(strUrl)
{
			var URL = 'http://sify.com/sports/cricket/ipl/rating.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 300px; height: 280px;scrolling: no;');
			anchor.setAttribute('title', 'Welcome to Sify.com');
			anchor.setAttribute('href', URL);
			anchor.setAttribute('rel', 'lyteframe');				
			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);
			 }
			//myLytebox.start(anchor, false, true);	

}

