




<!--
var section = "";
var subsection = "";

function skiperror(){
return true
}
window.onerror = skiperror;
function openH(newpicture){
var temp=navigator.appVersion;
var version=temp.substring(0,3);

if(version.charAt(0) < "3")
	{
	alert("This is an old browser, please upgrade");
	} else {
	newH=window.open(newpicture,"imageH","toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=350,height=280");
	}
}

function gocountry(cname)
{
    document.location = "/country/" + cname + ".htm";
}

function ReturnNetscape() 
{
	return (navigator.appName == "Netscape");
}

function ReturnVersion() {
	var appVer = navigator.appVersion;
	var myPos = appVer.indexOf("AOL ");
	if (myPos != -1) {
		return parseInt(appVer.substring(myPos + 4, appVer.length - 1));
	} 
	else {
		myPos = appVer.indexOf("MSIE ");
		if (myPos != -1) {
			return parseInt(appVer.substring(myPos + 5, appVer.length - 1));
		} 
		else {
			return parseInt(appVer);
		}
	}
}

function browserheight() {
	var browserheight = 0;
	if (ReturnNetscape() && (ReturnVersion() >= 4)) {
		browserheight = window.innerHeight-145;
	} else {
		browserheight = document.body.offsetHeight-148;
	}
	return browserheight;
}
    
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function acrobat(url)
{
    acrobat = window.open('http://www.adobe.com/products/acrobat/readstep2.html',"acrobat","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750,height=550");
}

function directo(obj)
{
    i = obj.selectedIndex;
    if (obj.options[i].value!="#")
    {
    	document.location=obj.options[i].value;
    }
}

function gourlparent(name)
{
	window.opener.location = name;
}

function openterms()
{
	window.open("/terms.htm", "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=630,height=530")
}

// navigation2
var IE = document.all ? true : false;
var Xpos = 0;
var Ypos = 0;
if (!IE) document.captureEvents(Event.MOUSEMOVE);
	document.onmousemove = getXYpos;
	
function getXYpos(e) {
	if (IE) {
		Xpos = event.clientX + document.body.scrollLeft;
		Ypos = event.clientY + document.body.scrollTop;
	} else {
		Xpos = e.pageX;
		Ypos = e.pageY;
	}
	if (Xpos < 0) Xpos = 0;
	if (Ypos < 0) Ypos = 0;
	return true;
}
var timeout = 10000;
function resetTimer() {
	clearTimeout(timeout);
}
function setTimer() {
	timeout = setTimeout("doRestore()", 1000);
	return true;
}
function doRestore() {
//    if (Xpos < 955 && Ypos < 131) {
if (Xpos < 955 && Ypos < 115 && Ypos > 65 ) {
    resetTimer();
    setTimer();
} else {
    MM_showHideLayers('ST1','','hide','ST2','','hide','ST3','','hide','ST4','','hide','ST5','','hide','ST6','','hide','ST7','','hide','ST8','','hide');
    MM_swapImage('home','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_home_on_tcm79-65032.gif','schedule','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_schedule_on_tcm79-65034.gif','registration','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_registration_on_tcm79-65048.gif'
			,'airwaybill','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_airwaybill_on_tcm79-65038.gif','track','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_track_on_tcm79-65040.gif','myskychain','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_mySkyChain_on_tcm79-65042.gif'
			,'admin','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_admin_on_tcm79-65046.gif','help','','http://speedera.sky-cargo.com/www.sky-cargo.com/Images/but_help_on_tcm79-65044.gif',1)
    resetTimer();
	MM_swapImgRestore();
}
return true;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
function Onload_showHideLayers(a) { //v3.0
  MM_showHideLayers('ST1','','hide','ST2','','hide','ST3','','hide','ST4','','hide','ST5','','hide','ST6','','hide','ST7','','hide','ST8','','hide')
}

function centerWindow(url,wname,w,h,scr,ext) 
{
	if (ext!="undefined")
		{
		ext = ","+ext;
		}
	if ((document.all) || (document.getElementById))
		var xMax = screen.width, yMax = screen.height;
	else
		if (document.layers)
			var xMax = window.outerWidth, yMax = window.outerHeight;
		else
			var xMax = 800, yMax=600;
	var xOffset = (xMax - w)/2, yOffset = (yMax - h)/2;
	if (wname=="SKO"){
	w = screen.availWidth-10
	h = screen.availHeight-35
	xOffset = 0
	yOffset = 0
	}
	objWindow=window.open(url,wname,'width='+w+',height='+h+',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+',scrollbars='+scr+','+ext);
	objWindow.focus();
}


function fun_open(url){
	centerWindow(url, 'SKO', 790, 525, 'yes', 'toolbars=no,status=yes,resizable=yes');
}

	var sc = {
	src: 'http://speedera.sky-cargo.com/www.sky-cargo.com/Images/ekPlain_8_tcm79-352358.swf'
	,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
	};

	sIFR.useStyleCheck = true;
	sIFR.activate(sc);

	sIFR.replace(sc, {
	selector: 'h1.title'
	,css: {
	  '.sIFR-root': {'font-size': '16px', 'color': '#000000' }
	}
	});
	sIFR.replace(sc, {
	selector: 'h2.hometitle'
	,css: {
	  '.sIFR-root': {'display': 'block','font-size': '15px', 'font-weight': 'bold', 'color': '#000000' }
	}
	});

function popup(url) 
{
 params  = 'width='+screen.width;
 params += ', height='+screen.height;
 params += ', top=0, left=0'
 params += ', fullscreen=yes,toolbar=no, scrollbars=no, resizable=yes, status=no, copyhistory=no, location=no, menubar=no';
	
 newwin=window.open(url,'ETASTAR', params);
 if (window.focus) {newwin.focus()}
 return false;
}

function open_eSkyCargo(url){
//this opens a new window without toolbars, menubars, etc.
window.open(url,"echild","height=" + (screen.height - 65) + ",width=" + (screen.width - 8) + ",left=0,top=0,status=no,toolbar=no,menubar=no,location=no");
}

-->

