
function PopUp(url, windowWidth, windowHeight)
		{
			var popWind;
			
				if (popWind && (navigator.appName == "Microsoft Internet Explorer")) {
					popWind.close();
				}
					
				popWind=window.open(url,'Ad','width=' + windowWidth + ',height=' + windowHeight + ',toolbar=no,directories=no,menubar=no,scrollbars=yes,resizable=no,top=5,left=5');
			
			if ( (navigator.appName != "Microsoft Internet Explorer") && (navigator.appVersion.substring(0,1) == "3" || "4") )
				popWind.focus();
		}

		
function pageload() {
				Listener.add( 'product_select_button', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/browse_garments_over.png';
				} );
				Listener.add( 'product_select_button', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/browse_garments.png';
				} );
				
				Listener.add( 'facebook_header', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/facebook_over.png';
				} );
				Listener.add( 'facebook_header', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/facebook.png';
				} );
				
				Listener.add( 'fb_button', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/join_our_group_over.png';
				} );
				Listener.add( 'fb_button', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/join_our_group.png';
				} );
				
				Listener.add( 'twitter_header', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/tweet_over.png';
				} );
				Listener.add( 'twitter_header', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/tweet.png';
				} );
				
				Listener.add( 'tweet_button', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/follow_us_over.png';
				} );
				Listener.add( 'tweet_button', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/follow_us.png';
				} );
				
				Listener.add( 'c_p_button', 'mouseover', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/start_designing_over.png';
				} );
				Listener.add( 'c_p_button', 'mouseout', function() {
					this.getElementsByTagName('img')[0].src = 'images/buttons/start_designing.png';
				} );
}