$(function() {
			$('a.popper1').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=600,width=875,toolbar=no');
			return false;
			});
		});
		
		
$(function() {
			$('a.popper2').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=700,width=875,toolbar=no');
			return false;
			});
		});
		
		
$(function() {
			$('a.flowers').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=500,width=767,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.kitchen').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=590,width=675,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.liz').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=710,width=675,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.pinhole').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=475,width=675,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.random').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=610,width=675,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.merchantville').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=650,width=875,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.featuredphoto').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=648,width=527,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.pubcrawl').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=450,width=767,toolbar=no');
			return false;
			});
		});
		
$(function() {
			$('a.screenshot1').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=768,width=1024,location=yes, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes');
			return false;
			});
		});
		
$(function() {
			$('a.screenshot2').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=600,width=562,location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes');
			return false;
			});
		});
		
$(function() {
			$('a.screenshot3').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=615,width=800,location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes');
			return false;
			});
		});
		
$(function() {
			$('a.tht').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=445,width=750, location=yes, toolbar=no, menubar=no, scrollbars=no, resizable=yes');
			return false;
			});
		});
		
$(function() {
			$('a.mm').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=600,width=800,location=yes, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes');
			return false;
			});
		});
		
$(function() {
			$('a.general').click(function() {
			var href = $(this).attr('href');
			window.open(href, 'popup', 'height=650,width=1000,location=yes, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes');
			return false;
			});
		});

		
/* INSERT HIGH CONTRAST LINKS */

$(document).ready(function() {
	$('#banner1 ul').append('<li class="hidden3"><a href="serversideSwitch.html?style=high_contrast" rel="high_contrast" class="styleswitch">High Contrast</a></li><li class="hidden4"><a href="serversideSwitch.html?style=default" rel="default" class="styleswitch">Normal Contrast</a></li>')
  	});
  	
$(document).ready(function() {
	$('#banner2 ul').append('<li class="hidden3"><a href="serversideSwitch.html?style=high_contrast" rel="high_contrast" class="styleswitch">High Contrast</a></li><li class="hidden4"><a href="serversideSwitch.html?style=default" rel="default" class="styleswitch">Normal Contrast</a></li>')
  	});
  	
$(document).ready(function() {
	$('#banner3 ul').append('<li class="hidden3"><a href="serversideSwitch.html?style=high_contrast" rel="high_contrast" class="styleswitch">High Contrast</a></li><li class="hidden4"><a href="serversideSwitch.html?style=default" rel="default" class="styleswitch">Normal Contrast</a></li>')
  	});
  	
  $(document).ready(function() {
	$('p#justfor6').after('<p style="line-height: 26px; font-size: 19px; padding-bottom: 15px;" class="hidden3">A <strong><a href="serversideSwitch.html?style=high_contrast" rel="high_contrast" class="styleswitch">High Contrast</a></strong> version of this Web site is offered.</p><p style="line-height: 26px; font-size: 19px; padding-bottom: 15px;" class="hidden4">A <strong><a href="serversideSwitch.html?style=default" rel="default" class="styleswitch">Normal Contrast</a></strong> version of the site is offered.</p>')
  	});
  	
/* HIDE AND SHOW ON FOCUS ACCESSIBILITY NAV */

$(document).ready(function() {
			$('a').addClass("idlenav");
       		$('a').focus(function() {
       			$(this).removeClass("idlenav").addClass("focusnav");
    		    if (this.value == this.defaultValue){ 
    		    	this.value = '';
				}
				if(this.value != this.defaultValue){
	    			this.select();
	    		}
    		});
    		$('a').blur(function() {
    			$(this).removeClass("focusnav").addClass("idlenav");
    		    if ($.trim(this.value) == ''){
			    	this.value = (this.defaultValue ? this.defaultValue : '');
				}
    		});
		});		
		
/* END HIDE AND SHOW ON FOCUS ACCESSIBILITY NAV */