function getItem(id){
	var itm = false;
	if(document.getElementById)
		itm = document.getElementById(id);
	else if(document.all)
		itm = document.all[id];
	else if(document.layers)
		itm = document.layers[id];
	
	return itm;
}//getItem()

function toggleItemDisplay(id,action){
	itm = getItem(id);
	
	if(!itm)
		return false;
	
	if(action=="show"&&itm.style.display == 'none'){
		itm.style.display = '';
	}else{
		itm.style.display = 'none';
	}

	return false;
}//showItem

function showConfirm(divShow){
	goToTop();
	toggleItemDisplay(divShow,'show');
	
	omniPage('Confirm: Leave to East');
}

function goToTop(){
	window.scrollTo(0,0);
}

function goEast(){
	omniClick(true, 'e', 'Leave to East');
	document.location.href='http://www.curbequipment.com/';
}

function omniPage(pn){
	s_cm.pageName=pn;
	s_cm.t();
}

function omniClick(obj, t, n){
	var s_cm=s_gi(s_account);
	s_cm.tl(obj, t, n);
}

function setBodyHeight(){
	bodyHeight = getItem('body_main_container').style;
	bodyRightHeight = getItem('body_right_container').style;
	
	theHeight = parseInt(bodyHeight.height);

	bodyRightHeight.height = theHeight;
}