
IE = (document.all);
NS = (document.layers);


if (document.images) {


// for kk preview
/*
	attorneys_over = new Image();
	attorneys_over.src = &quot /redcent/images/nav_attorneys_over.gif&quot ;
	attorneys_off = new Image();
	attorneys_off.src = &quot /redcent/images/nav_attorneys_off.gif&quot ;
	
	industries_over = new Image();
	industries_over.src = &quot /redcent/images/nav_industries_over.gif&quot ;
	industries_off = new Image();
	industries_off.src = &quot /redcent/images/nav_industries_off.gif&quot ;
	
	practice_over = new Image();
	practice_over.src = &quot /redcent/images/nav_practice_over.gif&quot ;
	practice_off = new Image();
	practice_off.src = &quot /redcent/images/nav_practice_off.gif&quot ;
	
	about_over = new Image();
	about_over.src = &quot /redcent/images/nav_about_over.gif&quot ;
	about_off = new Image();
	about_off.src = &quot /redcent/images/nav_about_off.gif&quot ;
	
	contact_over = new Image();
	contact_over.src = &quot /redcent/images/hp_but_contact_over.gif&quot ;
	contact_off = new Image();
	contact_off.src = &quot /redcent/images/hp_but_contact_off.gif&quot ;
*/
	
// for kk live

	attorneys_over = new Image();
	attorneys_over.src = &quot /images/nav_attorneys_over.gif&quot ;
	attorneys_off = new Image();
	attorneys_off.src = &quot /images/nav_attorneys_off.gif&quot ;
	
	industries_over = new Image();
	industries_over.src = &quot /images/nav_industries_over.gif&quot ;
	industries_off = new Image();
	industries_off.src = &quot /images/nav_industries_off.gif&quot ;
	
	practice_over = new Image();
	practice_over.src = &quot /images/nav_practice_over.gif&quot ;
	practice_off = new Image();
	practice_off.src = &quot /images/nav_practice_off.gif&quot ;
	
	about_over = new Image();
	about_over.src = &quot /images/nav_about_over.gif&quot ;
	about_off = new Image();
	about_off.src = &quot /images/nav_about_off.gif&quot ;
	
	contact_over = new Image();
	contact_over.src = &quot /images/hp_but_contact_over.gif&quot ;
	contact_off = new Image();
	contact_off.src = &quot /images/hp_but_contact_off.gif&quot ;

}

function rollOn(which) {
	if (document.images &amp (which != '')) {
		document.images[which].src = eval(which + &quot _over.src&quot );
	}	else {
		return true;
	}
}

function rollOff(which) {
	if (document.images &amp (which != '')) {
		document.images[which].src = eval(which + &quot _off.src&quot );
	}	else {
		return true;
	}
}

function privacy() {
	// for kk preview
//	var privacy = window.open('/redcent/terms_and_privacy.html','privacy','menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=550');

	// for kk live
	var privacy = window.open('/terms_and_privacy.html','privacy','menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=550');

	// for redcent dev server
//	var privacy = window.open('/clients/kanekessler/site/terms_and_privacy.html','privacy','menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=550');
	privacy.focus();
}

function popUp(page) {
	// for kk preview
//	var pwin = window.open('/redcent/recent_pr/' + page + '.html',page,'menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=300');

	// for kk live
	var pwin = window.open('/recent_pr/' + page + '.html',page,'menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=300');

	// for redcent dev server
	//var pwin = window.open('/clients/kanekessler/site/recent_pr/' + page + '.html',page,'menubar=no,resizable,scrollbars,status,toolbar=no,width=450,height=450');
	pwin.focus();
}

// defining window name as main so that we can use target in the popups and not window.opener
var myurl = new String(window.location);
var ismainwin = myurl.indexOf('recent_pr');
if (ismainwin == -1) {
	window.name = &quot main&quot ;
}

window.focus();
