// JavaScript Document

var timer;
var interval = 2000;
var Content1;
var Content2;
var strContentA;
var strContentB;
	
function DisplayPack(Index)
{
	
	Content1 = document.getElementById('content1');
	Content2 = document.getElementById('content2');
	
	window.clearTimeout(timer);

	switch (Index)
	{
		case 0:				
			Content1.innerHTML = "<p>Design Savvy brings a new level of sophistication to " + 
						"consumers around the world through its stunning range " +  
						"of designer gift-wrap packs.</p>" + 
						"<p>The new Gifted range, created by two award-winning " +  
						"Australian designers, was inspired by the designers’ " +  
						"own experience of wanting to have a selection of " +  
						"sophisticated wrapping papers and accessories on " +  
						"hand that weren’t printed with barcodes and that didn’t " +  
						"end up crushed at the back of a cupboard or drawer.</p>" + 
						"<p>The Gifted packs feature four elegant designs and " +  
						"include a coordinated set of wrapping paper, ribbon, " +  
						"tissue paper and gift cards – everything you need to " +  
						"make sure your gift presentation makes as much of " +  
						"a statement as the gift itself – and is conveniently " +  
						"packaged in a funky and functional zip-lock bag.</p>" + 
						"<p>The Gifted range is not only gorgeous, it’s guilt-free – " +  
						"designed and produced in Australia using eco-friendly " +  
						"inks and paper sourced from renewable forests.</p>";
			
			Content2.innerHTML = "";
			
			return;		

		case 1:
			strContentA = "<img src='images/lk_con_paint_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_con_paint_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>CONVENIENCE PACK > SAVVY PAINT DESIGN</span><br>" +
					"PACK INCLUDES > 1 SHEET OF DESIGNER WRAPPING PAPER<br>" +
					"PAPER SIZE (594x420MM)<br>" +
					"2 SHEETS TISSUE PAPER<br>" +
					"1M WHITE ORGANZA RIBBON + 1M SILVER SATIN RIBBON<br>" +
					"2 DESIGNER GIFT CARDS<br>" + 
					"RRP AU$9.95 EA + POSTAGE (GST INCLUSIVE)";
						
			timer = window.setTimeout("RotateImage()", interval);
			
			return;
		
		case 2:
			strContentA = "<img src='images/lk_con_festive_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_con_festive_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;

			Content2.innerHTML = "<span class='heading'>CONVENIENCE PACK > SAVVY FESTIVE DESIGN</span><br>" +
					"PACK INCLUDES > 1 SHEET OF DESIGNER WRAPPING PAPER<br>" +
					"PAPER SIZE (594x420MM)<br>" +
					"2 SHEETS TISSUE PAPER<br>" +
					"1M WHITE ORGANZA RIBBON + 1M WHITE SATIN RIBBON<br>" +
					"2 DESIGNER GIFT CARDS<br>" + 
					"RRP AU$9.95 EA + POSTAGE (GST INCLUSIVE)";

			timer = window.setTimeout("RotateImage()", interval);
			
			return;
		
		case 3:
			strContentA = "<img src='images/lk_con_stripe_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_con_stripe_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>CONVENIENCE PACK > SAVVY STRIPE DESIGN</span><br>" +
					"PACK INCLUDES > 1 SHEET OF DESIGNER WRAPPING PAPER<br>" +
					"PAPER SIZE (594x420MM)<br>" +
					"2 SHEETS TISSUE PAPER<br>" +
					"1M WHITE ORGANZA RIBBON + 1M SILVER SATIN RIBBON<br>" +
					"2 DESIGNER GIFT CARDS<br>" +
					"RRP AU$9.95 EA + POSTAGE (GST INCLUSIVE)";

			timer = window.setTimeout("RotateImage()", interval);
			
			return;
			
		case 4:
			strContentA = "<img src='images/lk_con_spot_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_con_spot_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>CONVENIENCE PACK > SAVVY SPOT DESIGN</span><br>" +
					"PACK INCLUDES > 1 SHEET OF DESIGNER WRAPPING PAPER<br>" +
					"PAPER SIZE (594x420MM)<br>" +
					"2 SHEETS TISSUE PAPER<br>" +
					"1M WHITE ORGANZA RIBBON + 1M WHITE SATIN RIBBON<br>" +
					"2 DESIGNER GIFT CARDS<br>" +
					"RRP AU$9.95 EA + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);

			return;
			
		case 5:
			
			Content1.innerHTML = "<img src='images/lk_des_yellow_1.jpg' width='283' height='283'>";

			Content2.innerHTML = "";

			return;
			
		case 6:
			strContentA = "<img src='images/lk_des_yellow_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_des_yellow_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>DESIGNER PACK > SAVVY YELLOW DESIGN</span><br>" +
					"PACK INCLUDES > 4 SHEETS OF YELLOW WRAPPING PAPER<br>" +
					"2 SHEETS OF SPOT DESIGN + 2 SHEETS OF PAINT DESIGN<br>" +
					"PAPER SIZE (594x420MM)<br>" + 
					"RRP AU$11.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;
	
		case 7:
			strContentA = "<img src='images/lk_des_silver_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_des_silver_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>DESIGNER PACK > SAVVY SILVER DESIGN</span><br>" +
					"PACK INCLUDES > 4 SHEETS OF SILVER WRAPPING PAPER<br>" +
					"2 SHEETS OF FESTIVE DESIGN + 2 SHEETS OF STRIPE DESIGN<br>" +
					"PAPER SIZE (594x420MM)<br>" +
					"RRP AU$11.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

		case 8:
			strContentA = "<img src='images/lk_card_mix_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_card_mix_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>GIFT CARD PACKS > MIX</span><br>" +
					"PACK INCLUDES > 8 DESIGNER GIFT CARDS<br>" +
					"(1 of each PICTURED design)<br>" +
					"CARD SIZE 80mm<br>" +
					"CARDS ARE BLANK INSIDE<br>" +
					"RRP AU$7.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

		case 9:
			strContentA = "<img src='images/lk_card_paint_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_card_paint_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>GIFT CARD PACKS > PAINT</span><br>" +
					"PACK INCLUDES > 4 DESIGNER GIFT CARDS<br>" +
					"(2 of each PICTURED design)<br>" +
					"CARD SIZE 80mm<br>" +
					"CARDS ARE BLANK INSIDE<br>" +
					"RRP AU$3.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

		case 10:
			strContentA = "<img src='images/lk_card_festive_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_card_festive_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>GIFT CARD PACKS > FESTIVE</span><br>" +
					"ACK INCLUDES > 4 DESIGNER GIFT CARDS<br>" +
					"(2 of each PICTURED design)<br>" +
					"CARD SIZE 80mm<br>" +
					"CARDS ARE BLANK INSIDE<br>" +
					"RRP AU$3.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

		case 11:
			strContentA = "<img src='images/lk_card_stripe_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_card_stripe_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>GIFT CARD PACKS > STRIPE</span><br>" +
					"PACK INCLUDES > 4 DESIGNER GIFT CARDS <br>" +
					"(2 of each PICTURED design)<br>" +
					"CARD SIZE 80mm<br>" +
					"CARDS ARE BLANK INSIDE<br>" +
					"RRP AU$3.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

		case 12:
			strContentA = "<img src='images/lk_card_spot_1.jpg' width='283' height='283'>";
			strContentB = "<img src='images/lk_card_spot_2.jpg' width='283' height='283'>";
			
			Content1.innerHTML = strContentA;
			
			Content2.innerHTML = "<span class='heading'>GIFT CARD PACKS > SPOT</span><br>" +
					"PACK INCLUDES > 4 DESIGNER GIFT CARDS<br>" +
					"(2 of each PICTURED design)<br>" +
					"CARD SIZE 80mm<br>" +
					"CARDS ARE BLANK INSIDE<br>" +
					"RRP AU$3.95 + POSTAGE (GST INCLUSIVE)";
			
			timer = window.setTimeout("RotateImage()", interval);
			
			return;

	}
}




function RotateImage()
{
	window.clearTimeout(timer);
	Content1.innerHTML = strContentA;
	strA = strContentA;
	strB = strContentB;
	strContentA = strB;
	strContentB = strA;
	timer = window.setTimeout("RotateImage()", interval);
}

function LoadImagesLook() {
	if (document.images) {

		img = new Image();
		img.src = "images/lk_con_paint_1.jpg";

		img = new Image();
		img.src = "images/lk_con_paint_2.jpg";

		img = new Image();
		img.src = "images/lk_con_festive_1.jpg";

		img = new Image();
		img.src = "images/lk_con_festive_2.jpg";

		img = new Image();
		img.src = "images/lk_con_stripe_1.jpg";

		img = new Image();
		img.src = "images/lk_con_stripe_2.jpg";

		img = new Image();
		img.src = "images/lk_con_spot_1.jpg";;

		img = new Image();
		img.src = "images/lk_con_spot_2.jpg";

		ImagesLoaded = true;
	}
}

function LoadImagesDesigner() {
	if (document.images) {

		img = new Image();
		img.src = "images/lk_des_yellow_1.jpg";

		img = new Image();
		img.src = "images/lk_des_yellow_2.jpg";

		img = new Image();
		img.src = "images/lk_des_silver_1.jpg";

		img = new Image();
		img.src = "images/lk_des_silver_2.jpg";

		ImagesLoaded = true;
	}
}

function LoadImagesGiftCard() {
	if (document.images) {

		img = new Image();
		img.src = "images/lk_card_mix_1.jpg";

		img = new Image();
		img.src = "images/lk_card_mix_2.jpg";

		img = new Image();
		img.src = "images/lk_card_paint_1.jpg";

		img = new Image();
		img.src = "images/lk_card_paint_2.jpg";

		img = new Image();
		img.src = "images/lk_card_festive_1.jpg";

		img = new Image();
		img.src = "images/lk_card_festive_2.jpg";

		img = new Image();
		img.src = "images/lk_card_stripe_1.jpg";

		img = new Image();
		img.src = "images/lk_card_stripe_2.jpg";

		img = new Image();
		img.src = "images/lk_card_spot_1.jpg";

		img = new Image();
		img.src = "images/lk_card_spot_2.jpg";

		ImagesLoaded = true;
	}
}