// JavaScript Document

$(document).ready(function(){

$(".externalControl .jCarouselLite").jCarouselLite({
    visible: 1,
    start: 0,
	vertical: false,
    btnNext: ".externalControl .next",
    btnPrev: ".externalControl .prev",
    //easing: "bounceout",
    speed: 1000,	
    btnGo: [".externalControl .1", ".externalControl .2", ".externalControl .3", ".externalControl .4", ".externalControl .5", ".externalControl .6"]
});						   


$('.quote').qtip({
   			//content: {url: 'http://localhost/shawnkelshaw/wp-content/themes/shawnkelshaw/quote0.html'},
			content: "Click now to view a few client testimonials.",
			style: {
				width: 230,
				height: 20,
				tip: {
					corner: 'bottomLeft',
 		            color: '#303030'					
				},
				name: 'blackbar'				
			},
			hide: {fixed: true},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topRight',
         			tooltip: 'bottomLeft'
      			}
  			}
		});

		$('.news').qtip({
   			content: "News &amp; Blog",
			style: {
				width: 100,
				height: 15,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030'
				},
   			   name: 'blackbar'
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}
		});
		$('.testimonials').qtip({
   			content: "Client Testimonials",
			style: {
				width: 120,
				height: 15,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030'
				},
   			   name: 'blackbar'
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}
		});
		$('.photolink').qtip({
   			content: "Photo Albums",
			style: {
				width: 100,
				height: 15,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030'
				},
   			   name: 'blackbar'
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}
		});
		$('.portfolio').qtip({
   			content: "Portfolio Categories",
			style: {
				width: 115,
				height: 15,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030'
				},
   			   name: 'blackbar'
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}
		});


$('#plus-table a.illustrations').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-illustration.jpg" border="0"/>',									 
			style: {
				width: 374,
				height: 224,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030',
					size: {x: 8, y: 6}
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}	
		}),


$('#plus-table a.video').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-video.jpg" border="0"/>',
			//content: '<div id="videocontainer" style="width:405px;float:left; padding:0 5px 0 0;"><iframe width="400" height="249" src="http://www.youtube.com/embed/eLFHNK8Z7Zg" frameborder="0" allowfullscreen></iframe></div><div id="videotxt" style="float:left;">test</div>',	
	        textAlign: 'left',
//			show: {
//            	when: 'mouseover',
//            	solo: true
//         	},
//         	hide: { when: 'inactive', delay: 2000 },
			style: {
				width: 517,
				height: 303,
				tip: {
					corner: 'leftTop',
 		            color: '#303030',
					size: {x: 12, y: 10},
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'rightTop',
         			tooltip: 'leftTop'
      			}
  			}	
		}),


$('#plus-table a.emailers').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-emailers.jpg" border="0"/>',									 
			style: {
				width: 518,
				height: 110,
				tip: {
					corner: 'topLeft',
 		            color: '#303030',
					size: {x:7,y:6}
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'bottomLeft',
         			tooltip: 'topLeft'
      			}
  			}	
		}),

$('#plus-table a.photography').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-photography.jpg" border="0"/>',		
			style: {
				width: 515,
				height: 177,
				tip: {
					corner: 'bottomMiddle',
 		            color: '#303030',
					size: {x: 8, y: 6}
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'topMiddle',
         			tooltip: 'bottomMiddle'
      			}
  			}	
		});

$('#plus-table a.flash').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-flash.jpg" border="0"/>',									 
			style: {
				width: 320,
				height: 177,
				tip: {
					corner: 'rightMiddle',
 		            color: '#303030'					
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'leftMiddle',
         			tooltip: 'rightMiddle'
      			}
  			}	
		}),


$('#plus-table a.banners').qtip({
			content: '<img src="http://www.shawnkelshaw.com/wp-content/uploads/2011/08/plus-banners.jpg" border="0"/>',									 
			style: {
				width: 110,
				height: 176,
				tip: {
					corner: 'rightMiddle',
 		            color: '#303030'					
				},
				name: 'plusitems'				
			},
			position: {
				adjust: {x: 0,y: 0},
      			corner: {
         			target: 'leftMiddle',
         			tooltip: 'rightMiddle'
      			}
  			}	
		});

		$(".logo-samples").colorbox({width:"898", height:"726"});
			
});

