//Reply post page
function messageReplyWindow(strUrl)
{
	var URL = 'http://sify.com/finance/messageboard/finance_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');	
	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=270,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}

//Abuse message
function messageAbuseWindow(strUrl)
{
	var URL = 'http://sify.com/finance/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');
	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=270,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}

//Forward Mail
function messageEmailWindow(strUrl)
{
	var URL = 'http://sify.com/finance/messageboard/finance_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');
	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=300,width=480,scrollbars=no,left='+leftVal+',top='+topVal);
	}
}


