// fail gracefully, ie: do nothing if used incorrectly
var to = window.to_whom;
var page = window.page;
var host =window.host;
var sessid =window.sessid;
var alias =window.alias;
if ( to ) {
  // prevent cross-site scripting attacks
  to = unescape( to.toString() );
  to = to.replace(/</g, '&lt;');
  to = to.replace(/>/g, '&gt;');
  // send our output along

//var link1='http://localhost/livechat/tracking/livesupport1.aspx?page=' + host +'/' + page + '&alias='+ alias + '&sessid='+ sessid;
var link1='http://www.agricultureindia.com/tracking/livesupport1.aspx?page=' + host +'/' + page + '&alias='+ alias + '&sessid='+ sessid;
document.write('<iframe name="live1" src="' +link1 +'" frameborder="0" border="0" height="0" width="0" ></iframe>')
//document.write('<iframe name="live1" src="' +link1 +'" frameborder="1" border="1"  ></iframe>')

 
}
