function menuHigh(menuItemID) {
	var menuItemDiv = document.getElementById('menuItem' + menuItemID);
	menuItemDiv.className = menuItemDiv.className.replace(/norm/, 'high');
	
	var menuTextDiv = document.getElementById('menuText' + menuItemID);
	menuTextDiv.className = menuTextDiv.className.replace(/norm/, 'high');
}

function menuNorm(menuItemID) {
	var menuItemDiv = document.getElementById('menuItem' + menuItemID);
	menuItemDiv.className = menuItemDiv.className.replace(/high/, 'norm');
	
	var menuTextDiv = document.getElementById('menuText' + menuItemID);
	menuTextDiv.className = menuTextDiv.className.replace(/high/, 'norm');
}

function subMenuHigh(menuItemID) {
	var menuItemDiv = document.getElementById('subMenu' + menuItemID);
	menuItemDiv.className = 'sub_menu_high';
}

function subMenuNorm(menuItemID) {
	var menuItemDiv = document.getElementById('subMenu' + menuItemID);
	menuItemDiv.className = 'sub_menu_norm';
}

//Load external photo personalisation site
function openDigiPersWindow(form, partNumber, returnUrl){
	var wmps_ip_address = "217.8.241.24";
	var r_url = escape( returnUrl );  // encode refer url
	var url = "http://" + wmps_ip_address + "/quickshop.aspx?item_ref=" + partNumber + "SZ&photo_return_url=" + r_url + "&amount=" + form.quantity.value;
	window.open( url, "select", "height=600, width=740, scrollbars=no" );
	
} 

//Load external photo personalisation site with quantity
function openDigiPersWindow_Basket(form, partNumber, returnUrl, quantity){
	var wmps_ip_address = "217.8.241.24";
	var r_url = escape( returnUrl );  // encode refer url
	var url = "http://" + wmps_ip_address + "/quickshop.aspx?item_ref=" + partNumber + "SZ&photo_return_url=" + r_url + "&amount=" + quantity;
	window.open( url, "select", "height=600, width=740, scrollbars=no" );
	
}

//Display large product images
function openImageWindow( imgPathToShow ){
	var url = imgPathToShow;
	window.open( url, "productImage", "height=400, width=400, scrollbars=no" );
	
}

//Load external courier window for tracking parcel
function openTrackingWindow( trackingURL ){
	var url = trackingURL;
	window.open( url, "BusinessExpress", "height=600, width=800, scrollbars=no" );
}