function unsetFlashClass(objId) {
    myObj = document.getElementById(objId);
    if(myObj) myObj.className = '';
}

// Messaging
function PX_messenger(msg) {
	$.growlUI(msg);
}

// global stuff
$(function() {

	// handle external Links
	$("a[rel='external']").click(function(){
		window.open($(this).attr("href"));
		return false;
	})

	// live chat
	$(".chat").click(function(){
		openLiveHelp();
		acceptInitiateChat();
		return false;
	})

	// confirm cart delete item
	$("a.confirm_cart_delete").click(function(){

		return confirm("Are you sure you want to delete this item?");

	})

	if ((document.getElementById('SearchSite') != null) && (typeof(document.getElementById('SearchSite')) != 'undefined')) {
		$('#SearchSite').example("I'm looking for...");
	}





})