$(document).ready(function()
{

	if(!Array.indexOf){
	    Array.prototype.indexOf = function(obj){
	        for(var i=0; i<this.length; i++){
	            if(this[i]==obj){
	                return i;
	            }
	        }
	        return -1;
	    }
	}

});

function showHideOptions()
{
	if($("#sw_options_features").is(":hidden")) {
		$("#advancePlusOptions").hide();
		$("#advanceMinuseOptions").show();
		$("#sw_options_features").show();
	} 
	else {
		$("#advancePlusOptions").show();
		$("#advanceMinuseOptions").hide();
		$("#sw_options_features").hide();
	}
}

function showHideAccessories()
{
	if($("#hw_accessories_features").is(":hidden")) {
		$("#advancePlusAccessories").hide();
		$("#advanceMinuseAccessories").show();
		$("#hw_accessories_features").show();
	} 
	else {
		$("#advancePlusAccessories").show();
		$("#advanceMinuseAccessories").hide();
		$("#hw_accessories_features").hide();
	}
}
