// JavaScript Document
// Create the tooltips only on document load
$(document).ready(function() 
{
  
	// By suppling no content attribute, the library uses each elements title attribute by default
	
	$('#homeImg').qtip(
   {
      content: { url: 'tooltips/home.aspx'}, // Give it some content, in this case a simple string
			position: { adjust: { x: -135, y: 3 }, tooltip:'bottomMiddle' },
			hide: { fixed: true, delay: 100 },
			style: { 
    					border: {width: 1, radius:6, color: '#efefef'},
      				width: 200
							//tip:true
							}
			});
	
		//Locations 
   $('#locImg').qtip(
   {
      content: { url: 'tooltips/location.aspx'}, // Give it some content, in this case a simple string
			position: { adjust: { x: -135, y: 5 }, tooltip:'bottomMiddle' },
			hide: { fixed: true, delay: 100 },
			style: { 
    					border: {width: 1, radius:6, color: '#efefef'},
      				width: 200
							//tip:true
							}
			});
	 
		//Contact
   $('#contactImg').qtip(
   {
      content: { url: 'tooltips/contact.aspx'}, // Give it some content, in this case a simple string
			position: { adjust: { x: -110, y: 3 }, tooltip:'bottomMiddle' },
			hide: { fixed: true, delay: 100 },
			style: { 
    					border: {width: 1, radius:6, color: '#efefef'},
      				width: 200
							//tip:true
							}	
			});
	 
	 	//Resources
		$('#resourcesImg').qtip(
   {
      content: { url: 'tooltips/resources.aspx'}, // Give it some content, in this case a simple string
			position: { adjust: { x: -153, y: 2 }, tooltip:'bottomMiddle' },
			hide: { fixed: true, delay: 100 },
			style: { 
    					border: {width: 1, radius:6, color: '#efefef'},
      				width: 200
							//tip:true
							}
			});
		
		$('#weatherCheck').qtip(
   		{
      content: { url: 'tooltips/weather.aspx'}, // Give it some content, in this case a simple string
			position: { adjust: { x: -10, y: 2 }, tooltip:'topMiddle' },
			hide: { fixed: true, delay: 100 },
			style: { 
    					border: {width: 1, radius:6, color: '#cccccc'},
      				width: 310,
							tip:true
							}
			});
		
	 //End of document ready function
	
	});


