<!--
/* My-list for frontlineglobal.com by Praveen AS on 3 Nov 03*/
function add_to_mylist(adid){	
	var url="add_to_list.php?adid="+ adid;
	window.open(url,"mylist","address=no,scrollbars=no,width=300,height=150");	
}
function view_mylist(){
	window.open("view_mylist.php","viewlist","address=no,scrollbars=yes,width=630,height=450");
}
function view_mylist_out(){
	window.open("r_searchads/view_mylist.php","viewlist","address=no,scrollbars=yes,width=630,height=450");
}
function print_ad(){
	window.print();
}
function show_img(img){
	neww=window.open("enlargedimage.php?pic="+ img,"frontline","address=no,scrollbars=yes,width=630,height=450");
	neww.focus();
}
/*function show_img(img){
	document.write("<form name='imag' method='post' action=javascriprwindow.open('enlargedimage.php','frontline','address=no,scrollbars=yes,width=630,height=450') target='frontline'>");
	document.write("<input type='hidden' name='pic' value='"+ img +"'>");
	document.write("</form>");
	document.imag.submit();
}*/
/*function show_img(img){
	neww=window.open("enlargedimage.php","frontline","address=no,scrollbars=yes,width=630,height=450");	
	neww.focus();
}*/
function disableRightClick(e)
{
  var message = "(c) Frontlineglobal.com";
  
  if(!document.rightClickDisabled) // initialize
  {
    if(document.layers) 
    {
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown = disableRightClick;
    }
    else document.oncontextmenu = disableRightClick;
    return document.rightClickDisabled = true;
  }
  if(document.layers || (document.getElementById && !document.all))
  {
    if (e.which==2||e.which==3)
    {
      alert(message);
      return false;
    }
  }
  else
  {
    alert(message);
    return false;
  }
}
disableRightClick();

//-->
 