var isDHTML = 0;
var isID = 0;
var isAll = 0;
var isLayers = 0;

$(function(){
    $(".ArrowChoice").hover(
        function(){$(this).addClass("ArrowChoiceHover");},
        function(){$(this).removeClass("ArrowChoiceHover");}
    );
    $(".ArrowChoiceBIG").hover(
        function(){$(this).addClass("ArrowChoiceHoverBIG");},
        function(){$(this).removeClass("ArrowChoiceHoverBIG");}
    );
    $(".ArrowRound").hover(
        function(){$(this).addClass("arrowRoundHover");},
        function(){$(this).removeClass("arrowRoundHover");}
    );
    
    // hide star ratings for now   * now done with css
    //$("img[@src*='stars']").hide();
});


// determine NETSCAPE/MOZILLA or INTERNET EXPLORER
if (document.getElementById){
	isID = 1;
	isDHTML = 1;
	}
else{
	if (document.all){
		isAll = 1;
		isDHTML = 1;
	}
	else{
		browserVersion = parseInt(navigator.appVersion);
		if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)){
			isLayers = 1;
			isDHTML = 1;
		}
	}
}

function gObj(objectID) {
	if (isID) { return (document.getElementById(objectID)) ; }
	else { 
		if (isAll) { return (document.all[objectID]); }
	else {
		if (isLayers) { return (document.layers[objectID]); }
	};}
}

var tCurr, oCurr;
function showo(oThis, oID, total){
    if(tCurr){tCurr.className="tabR";}
    if(oCurr){oCurr.style.display="none"};
    tCurr=oThis;
    oCurr=gObj(oID);
    tCurr.className="tabR_grey";
    oCurr.style.display="inline";
    gObj("oP").innerHTML="$" + total;
}
function orderCancel(){
    if(confirm(ttt7)){
        location.href="CancelOrder.ashx";
    }
}
function RDSCloseWarning(){
    window.setTimeout("alert(ttt8)", 500);
}
