// default.asp rollovers

if (document.images) {

	nav4on = new Image();
	nav4on.src = "images_home/search_over.gif"
	nav4off = new Image();
	nav4off.src = "images_home/search.gif"

	nav5on = new Image();
	nav5on.src = "images_home/register_over.gif"
	nav5off = new Image();
	nav5off.src = "images_home/register.gif"

	nav6on = new Image();
	nav6on.src = "images_home/political_risk_over.gif"
	nav6off = new Image();
	nav6off.src = "images_home/political_risk.gif"

	nav7on = new Image();
	nav7on.src = "images_home/links_over.gif"
	nav7off = new Image();
	nav7off.src = "images_home/links.gif"

	nav8on = new Image();
	nav8on.src = "images_home/surety_bonds_over.gif"
	nav8off = new Image();
	nav8off.src = "images_home/surety_bonds.gif"

	nav9on = new Image();
	nav9on.src = "images_home/kidnap_ransom_over.gif"
	nav9off = new Image();
	nav9off.src = "images_home/kidnap_ransom.gif"

	nav10on = new Image();
	nav10on.src = "images_home/corporate_over.gif"
	nav10off = new Image();
	nav10off.src = "images_home/corporate.gif"

	nav11on = new Image();
	nav11on.src = "images_home/contact_over.gif"
	nav11off = new Image();
	nav11off.src = "images_home/contact.gif"

	nav12on = new Image();
	nav12on.src = "images_home/world_wide_over1.gif"
	nav12off = new Image();
	nav12off.src = "images_home/world_wide.gif"

        nav13on = new Image();
	nav13on.src = "images_home/events_over.gif"
	nav13off = new Image();
	nav13off.src = "images_home/events.gif"

	targeton = new Image();
	targeton.src = "images_home/rectangle.gif"
	targetoff = new Image();
	targetoff.src = "images_home/rectangle.gif"

	target6on = new Image();
	target6on.src = "images_home/space_img.gif"
	target6off = new Image();
	target6off.src = "images_home/rectangle.gif"

	target7on = new Image();
	target7on.src = "images_home/political_img.gif"
	target7off = new Image();
	target7off.src = "images_home/rectangle.gif"

	target8on = new Image();
	target8on.src = "images_home/surety_img.gif"
	target8off = new Image();
	target8off.src = "images_home/rectangle.gif"

	target9on = new Image();
	target9on.src = "images_home/trade_img.gif"
	target9off = new Image();
	target9off.src = "images_home/rectangle.gif"

	target10on = new Image();
	target10on.src = "images_home/corporate_img.gif"
	target10off = new Image();
	target10off.src = "images_home/rectangle.gif"

	target11on = new Image();
	target11on.src = "images_home/contact_img.gif"
	target11off = new Image();
	target11off.src = "images_home/rectangle.gif"
}

function Rollon(img1,img2,text){
    window.status = text;
	if (document.images) {
		document[img1].src=eval(img1 + "on.src");
		document.target.src=eval(img2 + "on.src");
	} else {
       setTimeout("remove()",2000);
    }

}

function Rolloff(img1,img2){
    window.status = "";	
	if (document.images) {
		document[img1].src=eval(img1 + "off.src");
		document.target.src=targetoff.src;
	}
}

function remove(){
        window.status="";
}

// random headline image and link generator...
 
	headline = new Image();
	headline.src = "images_home/1.jpg";
	var num=1;
	var urlArray = new Array("","political_risk/index.html","kidnap_ransom/index.html");
	var statusArray = new Array("","political risk insurance","kidnap+ransom");
	var imageArray = new Array ("", "images_home/headline1.jpg","images_home/headline_ransom.gif");
function getRandom(max) {
	rnumber = Math.round(Math.random()*(max-1)) +1
	return rnumber
}

function getRandomImage() {
	
	num = getRandom(2);  // this is index of link array	
	xx = imageArray[num];
	img = new Image();;
	img.src = xx;
	document.images.headline.src = img.src;
}
function goHeadline() {
	document.location=urlArray[num];
}
function changeHeadline() {
	getRandomImage();
	setTimeout("changeHeadline()", 4000);
}