/*if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent && navigator.userAgent.indexOf("Opera")==-1)
{
	document.writeln('<style type="text/css">img { visibility:hidden; } </style>');
	window.attachEvent("onload", LoadPng);
}

function LoadPng()
{
	var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
	var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);

	for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--)
	{
		if (itsAllGood && img.src.match(/\.png$/i) != null)
		{
			var src = img.src;
			img.style.width = img.width + "px";
			img.style.height = img.height + "px";
			img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
			img.src = "1px.gif";
		}
		img.style.visibility = "visible";
	}
}*/

		function openURL( url ) {
				window.location.href = url;
			}

		
		function openNewWindow( url ) {
				var newWindow = window.open( url, '_external_content_', 'toolbar=0, location=1, directories=0, status=1, menubar=0, scrollbars=0, resizable=0, width=500, height=580' );
				newWindow.focus();
			}
			
		function openInNewWindow( url ) {
				var newWindow = window.open( url, '_external_content_', 'toolbar=1, location=1, directories=1, status=1, menubar=1, scrollbars=1, resizable=1, width=800, height=600' );
				newWindow.focus();
			}

		function setOpener( url ) {
	        if ( window.opener ) {
	          window.opener.location.href = url;
	        }
		}
		
		
		function showHeaderSubM1( objectId ) {
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu1_right_shown';
				}
		}

		function hideHeaderSubM1( objectId ) {
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu1_right';
			}
		}
		
		function showHeaderSubM1C2( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'header_submenu_part menu1_2c_left_shown';
				}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'header_submenu_part menu1_2c_content_shown';
				}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu1_2c_right_shown';
				}
			
		}

		function hideHeaderSubM1C2( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'header_submenu_part menu1_2c_left';
			}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'header_submenu_part menu1_2c_content';
			}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu1_2c_right';
			}
			
		}
		
		function showHeaderSubM2( objectId ) {
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu2_right_shown';
				}
		}

		function hideHeaderSubM2( objectId ) {
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu2_right';
			}
		}
		
		function showHeaderSubM2C2( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'header_submenu_part menu2_2c_left_shown';
				}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'header_submenu_part menu2_2c_content_shown';
				}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu2_2c_right_shown';
				}
			
		}

		function hideHeaderSubM2C2( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'header_submenu_part menu2_2c_left';
			}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'header_submenu_part menu2_2c_content';
			}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'header_submenu_part menu2_2c_right';
			}
			
		}
		
		
		function showHeaderSubmenu( objectId ) {
			if ( $('submenu_' + objectId) ) {
				$('submenu_' + objectId).style.display = 'block';
				
			}
		}

		function hideHeaderSubmenu( objectId ) {
			if ( $('submenu_' + objectId) ) {
				$('submenu_' + objectId).style.display = 'none';
				
			}
		}
		
		function showActiveButton( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'orange_submit_button_left';
				}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'orange_submit_button_content';
				}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'orange_submit_button_right';
				}
			
		}

		function hideActiveButton( objectId ) {
			if ( $('left_' + objectId) ) {
				$('left_' + objectId).className = 'white_submit_button_left';
			}
			
			if ( $('content_' + objectId) ) {
				$('content_' + objectId).className = 'white_submit_button_content';
			}
			
			if ( $('right_' + objectId) ) {
				$('right_' + objectId).className = 'white_submit_button_right';
			}
			
		}
		
		
		
		function showSizeSubmenu( pageId ) {
			if ( $('page_' + pageId) ) {
				$('page_' + pageId).show();
				
			}
		}

		function hideSizeSubmenu( pageId ) {
			if ( $('page_' + pageId) ) {
				$('page_' + pageId).hide();
				
			}
		}
		
		function showTop25Submenu( topId ) {
			if ( $('top_' + topId) ) {
				$('top_' + topId).show();
				
			}
		}

		function hideTop25Submenu( topId ) {
			if ( $('top_' + topId) ) {
				$('top_' + topId).hide();
				
			}
		}
		
		function showCheckoutLevel( checkoutId ) {
			if ( $('checkout_' + checkoutId) ) {
				$('checkout_' + checkoutId).show();
				
			}
		}

		function hideCheckoutLevel( checkoutId ) {
			if ( $('checkout_' + checkoutId) ) {
				$('checkout_' + checkoutId).hide();
				
			}
		}
		
		function showPopupLayer( popupId ) {
			if ( $('layer_' + popupId) ) {
				$('layer_' + popupId).show();
				
			}
		}

		function hidePopupLayer( popupId ) {
			if ( $('layer_' + popupId) ) {
				$('layer_' + popupId).hide();
				
			}
		}
		
		function highlightType1( type1Id ) {
			if ( $('type1_' + type1Id) ) {
				$('type1_' + type1Id).className = 'type1_selected';
				}
		}

		function donthighlightType1( type1Id ) {
			if ( $('type1_' + type1Id) ) {
				$('type1_' + type1Id).className = 'type1';
			}
		}
		
		function highlightType2( type2Id ) {
			if ( $('type2_' + type2Id) ) {
				$('type2_' + type2Id).className = 'type2_selected';
			}
		}

		function donthighlightType2( type2Id ) {
			if ( $('type2_' + type2Id) ) {
				$('type2_' + type2Id).className = 'type2';
			}
		}
		
		function highlightType3( type3Id ) {
			if ( $('type3_' + type3Id) ) {
				$('type3_' + type3Id).className = 'type3_selected';
			}
		}

		function donthighlightType3( type3Id ) {
			if ( $('type3_' + type3Id) ) {
				$('type3_' + type3Id).className = 'type3';
			}
		}
		
		function highlightType4( type4Id ) {
			if ( $('type4_' + type4Id) ) {
				$('type4_' + type4Id).className = 'type1_selected last';
			}
		}

		function donthighlightType4( type4Id ) {
			if ( $('type4_' + type4Id) ) {
				$('type4_' + type4Id).className = 'type1 last';
			}
		}
		
		function highlightType5( type5Id ) {
			if ( $('type5_' + type5Id) ) {
				$('type5_' + type5Id).className = 'type2_selected last';
			}
		}

		function donthighlightType5( type5Id ) {
			if ( $('type5_' + type5Id) ) {
				$('type5_' + type5Id).className = 'type2 last';
			}
		}
			

	
		
