$(document).ready(function(){
								
	var imgFolder = 'img/';
	
	var panoImages=new Array();
	var panoText=new Array();
	var panoWidth=new Array();
	var panoHeight=new Array();
	var panoX=new Array();
	var panoY=new Array();
	var panoDebug=new Array();
	var panoColor=new Array();
	var fontSize=new Array();
	var clickHref=new Array(); 	

	
	panoImages[0] = "pano_blackberry.jpg";
	panoText[0] = "";
	panoWidth[0] = 700;
	panoHeight[0] =  50;
	panoX[0] = 140;
	panoY[0] = 340;
	panoDebug[0] = false;			
	panoColor[0] = "#6e6e6e";			
	fontSize[0] = 10;
	clickHref[0] = "http://appworld.blackberry.com/webstore/content/32417?lang=en";	
    
    panoImages[1] = "pano_geotask.jpg";
	panoText[1] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\"><strong>GeoTask</strong><br />Location-based reminders! Get reminded of things you need to do based on your current location.<a href=\"http://itunes.apple.com/ca/app/geotask-finally-location-based/id380543432?mt=8\"><img src=\"img/button_buynow.png\" /></a>";
	panoWidth[1] = 700;
	panoHeight[1] =  50;
	panoX[1] = 140;
	panoY[1] = 340;
	panoDebug[1] = false;			
	panoColor[1] = "#6e6e6e";			
	fontSize[1] = 10;
	clickHref[1] = "our_work.php";

	panoImages[2] = "pano_foscam2.jpg";
	panoText[2] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\"><strong>A Total, Mobile Monitoring Solution</strong> for Foscam cameras. Allows you to control a Foscam pan & tilt WIFI & Ethernet camera from your iPhone, iPod touch or iPad.<br /><a href=\"http://itunes.apple.com/ca/app/foscam-ip-control-2/id401284611?mt=8\" style=\"color: #6e6e6e; font-weight: bold;\" target=\"new\"><img src=\"img/button_buynow.png\" /></a>";
	panoWidth[2] = 450;
	panoHeight[2] =  50;
	panoX[2] = 140;
	panoY[2] = 340;
	panoDebug[2] = false;			
	panoColor[2] = "#6e6e6e";			
	fontSize[2] = 10;
	clickHref[2] = "our_work.php";
	
	panoImages[3] = "pano_angryoctopus.jpg";
	panoText[3] = "<img src=\"img/icon_ipad.png\" align=\"left\" class=\"newsiconipad\"><strong>Angry Octopus: for iPad</strong><br />A Children\'s Relaxation Story by Lori Lite brought to life as an interactive animated iPad book experience. See what excited the judging panel on the hit show Shark Tank! <a href=\"http://itunes.apple.com/ca/app/angry-octopus/id383124859?mt=8\"><img src=\"img/button_buynow.png\" /></a>";
	panoWidth[3] = 700;
	panoHeight[3] =  50;
	panoX[3] = 140;
	panoY[3] = 340;
	panoDebug[3] = false;	
	panoColor[3] = "#6e6e6e";	
	fontSize[3] = 10;
	clickHref[3] = "";

	panoImages[4] = "pano_home2.jpg";
	panoText[4] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\">Building on the success of MindWave, MindWave2 features Isochronic tones, which are regular beats of a single tone used for brainwave entrainment. The interference pattern that produces the beat is outside the brain so headphones are not required.";
	panoWidth[4] = 700;
	panoHeight[4] =  50;
	panoX[4] = 140;
	panoY[4] = 340;
	panoDebug[4] = false;			
	panoColor[4] = "#6e6e6e";			
	fontSize[4] = 10;
	clickHref[4] = "";

	panoImages[5] = "pano_home3.jpg";
	panoText[5] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\"><strong>UNIVERSAL MUSIC GROUP</strong><br />Remix top songs, get connected with official info, view photos, read artist bios and more in our apps for Universal Music Group artists like Owl City<br /><a href=\"our_work.php\" style=\"color: #6e6e6e; font-weight: bold;\"><img src=\"img/button_learnmore.png\" /></a>";
	panoWidth[5] = 700;
	panoHeight[5] =  50;
	panoX[5] = 140;
	panoY[5] = 340;
	panoDebug[5] = false;			
	panoColor[5] = "#6e6e6e";			
	fontSize[5] = 10;
	clickHref[5] = "";

	panoImages[6] = "pano_home5.jpg";
	panoText[6] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\"><strong>NOW AVAILABLE!</strong><br />MoodFood will help you find restaurants based on a colour that best fits your mood.<br /><a href=\"http://itunes.apple.com/ca/app/moodfood/id365723706?mt=8\" style=\"color: #6e6e6e; font-weight: bold;\" target=\"new\"><img src=\"img/button_freedownload.png\" /></a>";
	panoWidth[6] = 700;
	panoHeight[6] =  50;
	panoX[6] = 140;
	panoY[6] = 340;
	panoDebug[6] = false;			
	panoColor[6] = "#6e6e6e";			
	fontSize[6] = 10;
	clickHref[6] = "";
			
	panoImages[7] = "coachpad_pano.jpg";
	panoText[7] = "<img src=\"img/icon_ipad.png\" align=\"left\" class=\"newsiconipad\"><strong>CoachBoard for iPad</strong><br />NOW AVAILABLE, an easy-to-use digital whiteboard for coaches of Football, Basketball, Hockey, Soccer and Curling.<br /><a href=\"http://itunes.apple.com/us/app/coachboard/id366372668?mt=8\"><img src=\"img/button_buynow.png\" /></a>";
	panoWidth[7] = 700;
	panoHeight[7] =  50;
	panoX[7] = 140;
	panoY[7] = 340;
	panoDebug[7] = false;			
	panoColor[7] = "#6e6e6e";			
	fontSize[7] = 10;
	clickHref[7] = "";
    
    
    panoImages[8] = "pano_banzaiblowfish.jpg";
	panoText[8] = "<img src=\"img/icon_iphone.png\" align=\"left\" class=\"newsicon\"><strong>Banzai Blowfish!</strong><br />King Hikari's son has gone crazy and captured all of the Blowfish in Lake Fuji. It is now up to one heroic Fish to save his friends and restore order to the land.<a href=\"http://itunes.apple.com/us/app/banzai-blowfish/id412640222?mt=8\"><img src=\"img/button_buynow.png\" /></a>";
	panoWidth[8] = 700;
	panoHeight[8] =  50;
	panoX[8] = 140;
	panoY[8] = 340;
	panoDebug[8] = false;			
	panoColor[8] = "#6e6e6e";			
	fontSize[8] = 10;
	clickHref[8] = "http://www.banzaiblowfish.com";	
	
	//$("a[rel^='prettyPhoto']").prettyPhoto();
	//$("div.promos").scrollable({ size: 3, items: '#thumbs', hoverClass: 'hover' });
	$("#panocontainer").scrollablepano({ controlsContainer:$("#panocontainer"), offset:980, interval:4000, size:fontSize, href:clickHref, images: panoImages, captions: panoText, width: panoWidth, color: panoColor, height: panoHeight, x: panoX, y: panoY, debug: panoDebug, assetFolder: imgFolder});

});
