//Reply post page
function messageReplyWindow(strUrl)
{
			var URL = 'http://sify.com/sports/messageboard/sports_reply.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 480px; height: 270px;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);
			 }
}

//Abuse message
function messageAbuseWindow(strUrl)
{
			var URL = 'http://sify.com/sports/messageboard/abuse_form.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 480px; height: 270px;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 -490 ) / 2;
			  var topVal = (screen.height -500 ) / 2;
			  newwindow=window.open(URL,'WelcomeToSify','height=500,width=490,scrollbars=auto,left='+leftVal+',top='+topVal);
			 }
}

//Forward Mail
function messageEmailWindow(strUrl)
{
			var URL = 'http://sify.com/sports/messageboard/sports_sendmail.php'+"?"+strUrl;	
			var anchor = this.document.createElement('a');
			anchor.setAttribute('rev', 'width: 480px; height: 300px;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);
			 }
}

