

function setHomePage() {
    var agt=navigator.userAgent.toLowerCase();
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);
    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_nav6up = (is_nav && (is_major >= 5));
    var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie3    = (is_ie && (is_major < 4));
    var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5")==-1) );
    var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5")==-1) && (agt.indexOf("msie 6")==-1));
    var is_ie5up  = (is_ie && !is_ie3 && !is_ie4);
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
                    (agt.indexOf("windows 16-bit")!=-1));
    var is_mac    = (agt.indexOf("mac")!=-1);

	msg = "This functionality is not supported by your browser!"
	if (is_win && is_ie4) {
	msg1 = 'Click on the "down" arrow just to the right of the "house" icon in your Internet Explorer toolbar and choose "Add or Change Home Page." Then click on "Use this webpage as your only home page" or "Add this webpage to your home page tabs," depending on your preference.'
	alert(msg);}
	else if (is_mac && is_ie) {
	msg = 'Click on the "down" arrow just to the right of the "house" icon in your Internet Explorer toolbar and choose "Add or Change Home Page." Then click on "Use this webpage as your only home page" or "Add this webpage to your home page tabs," depending on your preference.'
	alert(msg);}
	else if (is_win && is_ie5up) {
		oHomePage.style.behavior='url(#default#homepage)';
		oHomePage.setHomePage('http://www.workabroad.ph');
		//parent.close();
	}
	else if (is_win && is_nav6up) {
		msg1 = 'To make this page your home page, just drag the icon to the left of the URL in your location bar onto the "Home" icon in the "house" icon in your toolbar. Some browsers do this differently. You can always set your home page through the preferences of your browser.'
		alert(msg1);
	
	}
    else if (is_win && is_nav4up) {
				
				msg1 = 'To make this page your home page, just drag the icon to the left of the URL in your location bar onto the "Home" icon in the "house" icon in your toolbar. Some browsers do this differently. You can always set your home page through the preferences of your browser.'
		alert(msg1);
				}
    else if (is_mac && is_nav4up) {
				msg1 = 'To make this page your home page, just drag the icon to the left of the URL in your location bar onto the "Home" icon in the "house" icon in your toolbar. Some browsers do this differently. You can always set your home page through the preferences of your browser.'
		alert(msg1);
				}
	else {
			
			msg1 = 'Click on the "down" arrow just to the right of the "house" icon in your Internet Explorer toolbar and choose "Add or Change Home Page." Then click on "Use this webpage as your only home page" or "Add this webpage to your home page tabs," depending on your preference.'
		alert(msg1);
			}
	}
	
	function scrollit_r2l(seed)
{
  //var m1  = "  Overseas Jobs for the Filipinos   "; 


  var msg="";
  var out = "Work Abroad - Overseas Jobs for the Filipinos";
  var c   = 1;
  if (seed > 100) {
    seed--;
    var cmd="scrollit_r2l(" + seed + ")";
    timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 100 && seed > 0) {
    for (c=0 ; c < seed ; c++) {
      out+=" ";
    }
    out+=msg;
    seed--;
    var cmd="scrollit_r2l(" + seed + ")";
    window.status=out;
    timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 0) {
    if (-seed < msg.length) {
      out+=msg.substring(-seed,msg.length);
      seed--;
      var cmd="scrollit_r2l(" + seed + ")";
      window.status=out;
      timerTwo=window.setTimeout(cmd,100);
    }
    else {
      window.status=" ";
      timerTwo=window.setTimeout("scrollit_r2l(100)",75);
    }
  }
}

	
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;

return true;
}		