/* Image w/ description tooltip v2.0
* Created: April 23rd, 2010. This notice must stay intact for usage 
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/


var ddimgtooltip={

	tiparray:function(){
		var tooltips=[]
		//define each tooltip below: tooltip[inc]=['path_to_image', 'optional desc', optional_CSS_object]
		//For desc parameter, backslash any special characters inside your text such as apotrophes ('). Example: "I\'m the king of the world"
		//For CSS object, follow the syntax: {property1:"cssvalue1", property2:"cssvalue2", etc}

		//tooltips[0]=["red_balloon.gif", "Here is a red balloon<br /> on a white background", {background:"#FFFFFF", color:"black", border:"5px ridge darkblue"}]
		//tooltips[1]=["duck2.gif", "Here is a duck on a light blue background.", {background:"#DDECFF", width:"200px"}]
		//tooltips[2]=["images/IMG_Thumb.jpg"]
		
		
		tooltips[0]=["images/IMG_1661.jpg", "Sunday 18th July 2010 &ndash; Luna Park", {background:"white", font:"bold 12px Arial"}]
		tooltips[1]=["images/flower cookie..jpg", "Flower cookie", {background:"white", font:"bold 12px Arial"}]
		tooltips[2]=["images/flower cookie 31234.jpg", "Flower cookie#3", {background:"white", font:"bold 12px Arial"}]
		tooltips[3]=["images/ghost1234.jpg", "Ghost", {background:"white", font:"bold 12px Arial"}]
		tooltips[4]=["images/kettle1234.jpg", "Kettle", {background:"white", font:"bold 12px Arial"}]
		tooltips[5]=["images/pirate 21234.jpg", "Pirate 2", {background:"white", font:"bold 12px Arial"}]
		tooltips[6]=["images/pirate 31334.jpg", "Pirate#3", {background:"white", font:"bold 12px Arial"}]
		tooltips[7]=["images/pumpkin 1234.jpg", "Pumpkin", {background:"white", font:"bold 12px Arial"}]
		tooltips[8]=["images/rattle1334.jpg", "Rattle", {background:"white", font:"bold 12px Arial"}]
		tooltips[9]=["images/rock star cookie13234.jpg", "Rock star cookie", {background:"white", font:"bold 12px Arial"}]
		tooltips[10]=["images/baptism1234.jpg", "Baptism", {background:"white", font:"bold 12px Arial"}]
		tooltips[11]=["images/butterfly 21234.jpg", "Butterfly#2", {background:"white", font:"bold 12px Arial"}]
		tooltips[12]=["images/cookie smileys134.jpg", "Cookie smileys", {background:"white", font:"bold 12px Arial"}]
		tooltips[13]=["images/cookies 21234.jpg", "Cookies#2", {background:"white", font:"bold 12px Arial"}]
		tooltips[14]=["images/cookies1234.jpg", "Cookies", {background:"white", font:"bold 12px Arial"}]
		tooltips[15]=["images/gold shoes..1234.jpg", "Christenings ", {background:"white", font:"bold 12px Arial"}]
		tooltips[16]=["images/mini chef1234.jpg", "Specialty Parties", {background:"white", font:"bold 12px Arial"}]
		tooltips[17]=["images/pink 1234.jpg", "Announcements", {background:"white", font:"bold 12px Arial"}]
		tooltips[18]=["images/flower cookie..jpg", "Cookies", {background:"white", font:"bold 12px Arial"}]
		tooltips[19]=["images/gold shoes..1234.jpg", "Gold shoes", {background:"white", font:"bold 12px Arial"}]
		tooltips[20]=["images/pink and bible1234.jpg", "Pink and bible", {background:"white", font:"bold 12px Arial"}]
		tooltips[21]=["images/pram 1234.jpg", "Pram", {background:"white", font:"bold 12px Arial"}]
		tooltips[22]=["images/pink 1234.jpg", "Pink", {background:"white", font:"bold 12px Arial"}]
		tooltips[23]=["images/baptism - girl1234.jpg", "Baptism - girl", {background:"white", font:"bold 12px Arial"}]
		tooltips[24]=["images/birth - girl - pink and silver1234.jpg", "Birth - girl - pink and silver", {background:"white", font:"bold 12px Arial"}]
		tooltips[25]=["images/boy christening 1234.jpg", "Boy christening", {background:"white", font:"bold 12px Arial"}]
		tooltips[26]=["images/confirmation1234.jpg", "Confirmation", {background:"white", font:"bold 12px Arial"}]
		tooltips[27]=["images/mini chef1234.jpg", "Mini chef", {background:"white", font:"bold 12px Arial"}]
		tooltips[28]=["images/pirate1234.jpg", "Pirate", {background:"white", font:"bold 12px Arial"}]
		tooltips[29]=["images/butterfly1234.jpg", "Butterfly", {background:"white", font:"bold 12px Arial"}]
		tooltips[30]=["images/butterfly party1234.jpg", "Butterfly party", {background:"white", font:"bold 12px Arial"}]
		tooltips[31]=["images/cherries1234.jpg", "Cherries", {background:"white", font:"bold 12px Arial"}]
		tooltips[32]=["images/fairy party1234.jpg", "Fairy party", {background:"white", font:"bold 12px Arial"}]
		tooltips[33]=["images/birth - boy1234.jpg", "Birth-boy", {background:"white", font:"bold 12px Arial"}]
		tooltips[34]=["images/birth - girl1234.jpg", "Birth - girl", {background:"white", font:"bold 12px Arial"}]
		tooltips[35]=["images/birth - girl 21234.jpg", "Birth - girl #2", {background:"white", font:"bold 12px Arial"}]
		tooltips[36]=["images/birth announcement boy 1234.jpg", "Birth announcement boy", {background:"white", font:"bold 12px Arial"}]
		tooltips[37]=["images/birth announcment - pink 1234.jpg", "Birth announcment - pink ", {background:"white", font:"bold 12px Arial"}]
		
		tooltips[38]=["images/flower metallic 21234.jpg", "Engagement ", {background:"white", font:"bold 12px Arial"}]
		tooltips[39]=["images/gold bow - bridal shower1234.jpg", "Bridal shower ", {background:"white", font:"bold 12px Arial"}]
		tooltips[40]=["images/pink hens night1234.jpg", "Hens night ", {background:"white", font:"bold 12px Arial"}]
		tooltips[41]=["images/flower metallic 21234.jpg", "Flower metallic  ", {background:"white", font:"bold 12px Arial"}]
		tooltips[42]=["images/gold bow - invite1234.jpg", "Gold bow invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[43]=["images/engagement hearts 1234.jpg", "Engagement hearts", {background:"white", font:"bold 12px Arial"}]
		tooltips[44]=["images/gold bow - bridal shower1234.jpg", "Gold bow bridal shower ", {background:"white", font:"bold 12px Arial"}]
		tooltips[45]=["images/kitchen tea1234.jpg", "Kitchen tea  ", {background:"white", font:"bold 12px Arial"}]
		tooltips[46]=["images/gold - champagne brunch1234.jpg", "Gold champagne brunch   ", {background:"white", font:"bold 12px Arial"}]
		tooltips[47]=["images/blue hens night1234.jpg", "Blue hens night", {background:"white", font:"bold 12px Arial"}]
		tooltips[48]=["images/pink hens night1234.jpg", "Pink hens night ", {background:"white", font:"bold 12px Arial"}]
		tooltips[61]=["images/silver - invite1234.jpg", "Love ", {background:"white", font:"bold 12px Arial"}]
		tooltips[49]=["images/silver - invite1234.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[50]=["images/green set - invite1234.jpg", "Honour", {background:"white", font:"bold 12px Arial"}]
		tooltips[51]=["images/flower set 1234.jpg", "Respect", {background:"white", font:"bold 12px Arial"}]
		tooltips[52]=["images/white with silver invite1234.jpg", "Eternity", {background:"white", font:"bold 12px Arial"}]
		tooltips[53]=["images/gold - champagne brunch1234.jpg", "Cherish ", {background:"white", font:"bold 12px Arial"}]
		tooltips[54]=["images/white lace1234.jpg", "Forever", {background:"white", font:"bold 12px Arial"}]
		tooltips[55]=["images/pink and silver 1234.jpg", "Trust ", {background:"white", font:"bold 12px Arial"}]
		tooltips[56]=["images/engagement party copy1234.jpg", "Engagement Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[57]=["images/silver - acceptance1234.jpg", "Acceptance Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[58]=["images/silver - menu 1234.jpg", "Menu", {background:"white", font:"bold 12px Arial"}]
		tooltips[59]=["images/silver - placecards1234.jpg", "Place Cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[60]=["images/silver - save the date1234.jpg", "Save The Date", {background:"white", font:"bold 12px Arial"}]
		tooltips[62]=["images/silver thank you1234.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[63]=["images/silver - thank you1234.jpg", "Thank You", {background:"white", font:"bold 12px Arial"}]
		tooltips[64]=["images/silver - invite.1234.jpg", "Church Booklet", {background:"white", font:"bold 12px Arial"}]
		tooltips[65]=["images/white guest book 1234.jpg", "Guest book", {background:"white", font:"bold 12px Arial"}]
		tooltips[66]=["images/engagement party copy1234.jpg", "Engagement party", {background:"white", font:"bold 12px Arial"}]
		tooltips[67]=["images/silver - invite.1234.jpg", "Silver-invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[68]=["images/white guest book 1234.jpg", "White guest book", {background:"white", font:"bold 12px Arial"}]
		tooltips[69]=["images/green set - gift registry1234.jpg", "Gift Registry Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[70]=["images/green invite1234.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[71]=["images/green set - placecards1234.jpg", "Place Cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[72]=["images/green set - RSVP1234.jpg", "RSVP Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[73]=["images/green set - thank you 1234.jpg", "Thank You Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[74]=["images/green set - thank you cookies 1234.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[75]=["images/green set - invitation1234.jpg", "Church Book", {background:"white", font:"bold 12px Arial"}]
		tooltips[76]=["images/green invite - save the date1234.jpg", "Save the Date", {background:"white", font:"bold 12px Arial"}]
		tooltips[77]=["images/green invite1234.jpg", "Green invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[78]=["images/green set - invitation1234.jpg", "Green set – invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[79]=["images/green invite - save the date1234.jpg", "Green invite – save the  date and chocolates", {background:"white", font:"bold 12px Arial"}]
		tooltips[80]=["images/green invite - save the date1234.jpg", "Green invite – save the  date and chocolates", {background:"white", font:"bold 12px Arial"}]
		tooltips[81]=["images/partt party4567.jpg", "18th and 21st", {background:"white", font:"bold 12px Arial"}]
		tooltips[82]=["images/pre made - pink4567.jpg", "30th and 40th", {background:"white", font:"bold 12px Arial"}]
		tooltips[83]=["images/tiffany 4567.jpg", "21st", {background:"white", font:"bold 12px Arial"}]
		tooltips[84]=["images/wedding anniversary 14567.jpg", "Wedding Anniversary", {background:"white", font:"bold 12px Arial"}]
		tooltips[85]=["images/engagement hearts4567.jpg", "Engagement ", {background:"white", font:"bold 12px Arial"}]
		tooltips[86]=["images/champagne brunch1234.jpg", "Bridal Shower", {background:"white", font:"bold 12px Arial"}]
		tooltips[87]=["images/flower set -box 4567.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[88]=["images/cookies - bride and groom 4567.jpg", "cookies-bride and groom", {background:"white", font:"bold 12px Arial"}]
		tooltips[89]=["images/cookies - st patricks day 4567.jpg", "cookies-st patricks day ", {background:"white", font:"bold 12px Arial"}]
		tooltips[90]=["images/cookies - white 4567.jpg", "Centrepieces ", {background:"white", font:"bold 12px Arial"}]
		tooltips[91]=["images/cookies-pink4567.jpg", "cookies-pink", {background:"white", font:"bold 12px Arial"}]
		tooltips[92]=["images/st patricks day cookies4567.jpg", "Centrepieces ", {background:"white", font:"bold 12px Arial"}]
		tooltips[93]=["images/green set - thank you cookies 4567.jpg", "Small Cookie Box", {background:"white", font:"bold 12px Arial"}]
		tooltips[94]=["images/silver - thank you1234.jpg", "Love", {background:"white", font:"bold 12px Arial"}]
		tooltips[95]=["images/filigree - thank you 4567.jpg", "Eternity", {background:"white", font:"bold 12px Arial"}]
		tooltips[96]=["images/partt party4567.jpg", "Part party", {background:"white", font:"bold 12px Arial"}]
		tooltips[97]=["images/21st invite4567.jpg", "21st invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[98]=["images/pre made - pink4567.jpg", "Pre-made pink", {background:"white", font:"bold 12px Arial"}]
		tooltips[99]=["images/premade - beige invite4567.jpg", "Premade beige invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[100]=["images/pre-made - black 4567.jpg", "Premade black ", {background:"white", font:"bold 12px Arial"}]
		tooltips[101]=["images/pre-made black4567.jpg", "Pre-made black ", {background:"white", font:"bold 12px Arial"}]
		tooltips[102]=["images/tiffany 4567.jpg", "Tiffany", {background:"white", font:"bold 12px Arial"}]
		tooltips[103]=["images/30th4567.jpg", "30th ", {background:"white", font:"bold 12px Arial"}]
		tooltips[104]=["images/40th 4567.jpg", "40th ", {background:"white", font:"bold 12px Arial"}]
		tooltips[105]=["images/40th birthday invite4567.jpg", "40th Birthday invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[106]=["images/wedding anniversary 4567.jpg", "Wedding Anniversary ", {background:"white", font:"bold 12px Arial"}]
		tooltips[107]=["images/wedding anniversary 14567.jpg", "Wedding Anniversary1 ", {background:"white", font:"bold 12px Arial"}]
		tooltips[108]=["images/bronze - acceptance4567.jpg", "Bronze acceptance  ", {background:"white", font:"bold 12px Arial"}]
		tooltips[109]=["images/engagement hearts4567.jpg", "Engagement hearts ", {background:"white", font:"bold 12px Arial"}]
		tooltips[110]=["images/champagne brunch1234.jpg", "Champagne brunch", {background:"white", font:"bold 12px Arial"}]
		tooltips[111]=["images/flower set -box 4567.jpg", "Flower set box ", {background:"white", font:"bold 12px Arial"}]
		tooltips[112]=["images/pink and silver1234.jpg", "Pink and silver ", {background:"white", font:"bold 12px Arial"}]
		tooltips[113]=["images/brone - thank you box12345.jpg", "Bronze thank you box", {background:"white", font:"bold 12px Arial"}]
		tooltips[114]=["images/cookies1234.jpg", "cookies", {background:"white", font:"bold 12px Arial"}]
		tooltips[115]=["images/cookie 312345.jpg", "Cookie 3", {background:"white", font:"bold 12px Arial"}]
		tooltips[116]=["images/cookies - white 4567.jpg", "Gold and Silver Cookies", {background:"white", font:"bold 12px Arial"}]
		tooltips[117]=["images/st patricks day cookies4567.jpg", "St Patricks Day cookies ", {background:"white", font:"bold 12px Arial"}]
		tooltips[118]=["images/bride and groom cookies12345.jpg", "Bride and groom cookies ", {background:"white", font:"bold 12px Arial"}]
		tooltips[119]=["images/flower set 1234.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[120]=["images/flower set - invite1234.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[121]=["images/flower set - placecard 1234.jpg", "Place Cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[122]=["images/flower set - save the date 1234.jpg", "Save The Date", {background:"white", font:"bold 12px Arial"}]
		tooltips[123]=["images/flower set - table piece1234.jpg", "Menu", {background:"white", font:"bold 12px Arial"}]
		tooltips[124]=["images/flower set - thank you and flowers1234.jpg", "Thank You", {background:"white", font:"bold 12px Arial"}]
		tooltips[125]=["images/flower set - order of service1234.jpg", "Church Book", {background:"white", font:"bold 12px Arial"}]
		tooltips[126]=["images/flower set - RSVP1234.jpg", "RSVP card", {background:"white", font:"bold 12px Arial"}]
		tooltips[127]=["images/wishing well1234.jpg", "Wishing well card", {background:"white", font:"bold 12px Arial"}]
		tooltips[128]=["images/flower set - invite1234.jpg", "Flower set – invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[129]=["images/flower set - thank you and flowers1234.jpg", "Thank You", {background:"white", font:"bold 12px Arial"}]
		tooltips[130]=["images/flower set - order of service1234.jpg", "Flower set – order of service ", {background:"white", font:"bold 12px Arial"}]
		tooltips[131]=["images/flower set - RSVP1234.jpg", "Flower set – RSVP", {background:"white", font:"bold 12px Arial"}]
		tooltips[132]=["images/wishing well1234.jpg", "Wishing well ", {background:"white", font:"bold 12px Arial"}]
		tooltips[133]=["images/white with silver - thank you12345.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[134]=["images/white with silver - gift registry12345.jpg", "Gift Registry Card ", {background:"white", font:"bold 12px Arial"}]
		tooltips[135]=["images/filigree - thank you 12345.jpg", "Thank You  ", {background:"white", font:"bold 12px Arial"}]
		tooltips[136]=["images/filigree - invite12345.jpg", "Invitation ", {background:"white", font:"bold 12px Arial"}]
		tooltips[137]=["images/white with silver -placecards12345.jpg", "Place Cards ", {background:"white", font:"bold 12px Arial"}]
		tooltips[138]=["images/directions12345 .jpg", "Map ", {background:"white", font:"bold 12px Arial"}]
		tooltips[139]=["images/filigree - acceptance 12345.jpg", "Acceptance card", {background:"white", font:"bold 12px Arial"}]
		tooltips[140]=["images/filligree - invite silver12345.jpg", "Save the Date Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[141]=["images/directions12345 .jpg", "Directions", {background:"white", font:"bold 12px Arial"}]
		tooltips[142]=["images/filigree - acceptance 12345.jpg", "Filigree acceptance", {background:"white", font:"bold 12px Arial"}]
		tooltips[143]=["images/filigree - invite12345.jpg", "Filigree invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[144]=["images/filigree - thank you 12345.jpg", "Filigree thank you ", {background:"white", font:"bold 12px Arial"}]
		tooltips[145]=["images/filligree - invite silver12345.jpg", "Filigree invite silver ", {background:"white", font:"bold 12px Arial"}]
		tooltips[146]=["images/gold - champagne brunch78958.jpg", "Bridal Shower", {background:"white", font:"bold 12px Arial"}]
		tooltips[147]=["images/gold - invite7894.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[148]=["images/gold - placecards45687.jpg", "Place cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[149]=["images/gold - save the date4789.jpg", "Save the Date ", {background:"white", font:"bold 12px Arial"}]
		tooltips[150]=["images/gold - wedding reception12548.jpg", "Table Listing", {background:"white", font:"bold 12px Arial"}]
		tooltips[151]=["images/gold - wishing well456698.jpg", "Wishing Well ", {background:"white", font:"bold 12px Arial"}]
		tooltips[152]=["images/neutral guest book 12458.jpg", "Guest Book", {background:"white", font:"bold 12px Arial"}]
		tooltips[153]=["images/gold - acceptance7894.jpg", "Acceptance card", {background:"white", font:"bold 12px Arial"}]
		tooltips[154]=["images/gold - champagne brunch78958.jpg", "Gold champagne brunch", {background:"white", font:"bold 12px Arial"}]
		tooltips[155]=["images/champagne brunch1234.jpg", "Champagne brunch", {background:"white", font:"bold 12px Arial"}]
		tooltips[156]=["images/gold - invite7894.jpg", "Gold invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[157]=["images/gold - placecards45687.jpg", "Gold place cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[158]=["images/gold - save the date4789.jpg", "Gold save the date", {background:"white", font:"bold 12px Arial"}]
		tooltips[159]=["images/gold - wedding reception12548.jpg", "Gold Wedding reception ", {background:"white", font:"bold 12px Arial"}]
		tooltips[160]=["images/gold - wishing well456698.jpg", "Gold wishing well", {background:"white", font:"bold 12px Arial"}]
		tooltips[161]=["images/neutral guest book 12458.jpg", "Neutral guest book", {background:"white", font:"bold 12px Arial"}]
		tooltips[162]=["images/gold - acceptance7894.jpg", "Gold – acceptance", {background:"white", font:"bold 12px Arial"}]
		tooltips[163]=["images/white lace145827.jpg", "Place card", {background:"white", font:"bold 12px Arial"}]
		tooltips[164]=["images/white lace - acceptance12548.jpg", "Acceptance card", {background:"white", font:"bold 12px Arial"}]
		tooltips[165]=["images/white lace - invite 1245687.jpg", "Church book", {background:"white", font:"bold 12px Arial"}]
		tooltips[166]=["images/white lace - invite (roses right)1427.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[167]=["images/white lace - menu124578.jpg", "menu", {background:"white", font:"bold 12px Arial"}]
		tooltips[168]=["images/white lace - save the date14527.jpg", "Save the Date card", {background:"white", font:"bold 12px Arial"}]
		tooltips[169]=["images/white lace -thank you 12548.jpg", "Thank You Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[170]=["images/white lace145827.jpg", "White lace ", {background:"white", font:"bold 12px Arial"}]
		tooltips[171]=["images/white lace - acceptance12548.jpg", "White lace acceptance ", {background:"white", font:"bold 12px Arial"}]
		tooltips[172]=["images/white lace - invite 1245687.jpg", "White lace invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[173]=["images/white lace - invite (roses right)1427.jpg", "White lace invite (roses right) ", {background:"white", font:"bold 12px Arial"}]
		tooltips[174]=["images/white lace - menu124578.jpg", "White lace menu ", {background:"white", font:"bold 12px Arial"}]
		tooltips[175]=["images/white lace - save the date14527.jpg", "White lace save the date ", {background:"white", font:"bold 12px Arial"}]
		tooltips[176]=["images/white lace -thank you 12548.jpg", "White lace-thank you", {background:"white", font:"bold 12px Arial"}]
		tooltips[177]=["images/pink and silver 12345.jpg", "Church Book", {background:"white", font:"bold 12px Arial"}]
		tooltips[178]=["images/pink and silver12547.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[179]=["images/pink and silver - invite12459.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[180]=["images/pink and silver - menu12354.jpg", "Menu", {background:"white", font:"bold 12px Arial"}]
		tooltips[181]=["images/pink and silver - placecard12458.jpg", "Place Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[182]=["images/pink and silver - RSVP12458.jpg", "RSVP Card", {background:"white", font:"bold 12px Arial"}]
		tooltips[183]=["images/pink and silver - save the date12458.jpg", "save the date card", {background:"white", font:"bold 12px Arial"}]
		tooltips[184]=["images/pink and silver 12345.jpg", "Pink and silver", {background:"white", font:"bold 12px Arial"}]
		tooltips[185]=["images/pink and silver12547.jpg", "Pink and silver", {background:"white", font:"bold 12px Arial"}]
		tooltips[186]=["images/pink and silver - invite12459.jpg", "Pink and silver invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[187]=["images/pink and silver - menu12354.jpg", "Pink and silver menu", {background:"white", font:"bold 12px Arial"}]
		tooltips[188]=["images/pink and silver - placecard12458.jpg", "Pink and silver – place card", {background:"white", font:"bold 12px Arial"}]
		tooltips[189]=["images/pink and silver - RSVP12458.jpg", "Pink and Silver RSVP", {background:"white", font:"bold 12px Arial"}]
		tooltips[190]=["images/bottle cookie123456.jpg", "Bottle Cookie", {background:"white", font:"bold 12px Arial"}]
		tooltips[191]=["images/18th birthday12345 .jpg", "18th birthday", {background:"white", font:"bold 12px Arial"}]
		tooltips[192]=["images/brone - thank you box12458.jpg", "Romance", {background:"white", font:"bold 12px Arial"}]
		tooltips[193]=["images/brone - thank you box12458.jpg", "Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		tooltips[194]=["images/bronze - invite12458.jpg", "Church Book", {background:"white", font:"bold 12px Arial"}]
		tooltips[195]=["images/bronze - placecards12458.jpg", "Place cards", {background:"white", font:"bold 12px Arial"}]
		tooltips[196]=["images/bronze - save the date12458.jpg", "Save the Date", {background:"white", font:"bold 12px Arial"}]
		tooltips[197]=["images/bronze - wishing well12548.jpg", "Wishing Well", {background:"white", font:"bold 12px Arial"}]
		tooltips[198]=["images/broze - invite1458.jpg", "Invitation", {background:"white", font:"bold 12px Arial"}]
		tooltips[199]=["images/brone - thank you box12458.jpg", "Bronze thank you box ", {background:"white", font:"bold 12px Arial"}]
		tooltips[200]=["images/bronze - invite12458.jpg", "Bronze invite", {background:"white", font:"bold 12px Arial"}]
		tooltips[201]=["images/bronze - placecards12458.jpg", "Bronze place cards ", {background:"white", font:"bold 12px Arial"}]
		tooltips[202]=["images/bronze - save the date12458.jpg", "Bronze save the date", {background:"white", font:"bold 12px Arial"}]
		tooltips[203]=["images/bronze - wishing well12548.jpg", "Bronze wishing well ", {background:"white", font:"bold 12px Arial"}]
		tooltips[204]=["images/broze - invite1458.jpg", "Broze invite ", {background:"white", font:"bold 12px Arial"}]
		tooltips[205]=["images/pink and silver - save the date12458.jpg", "Pink and silver save the date", {background:"white", font:"bold 12px Arial"}]
		tooltips[206]=["images/champagne brunch 12345.jpg", "Champagne brunch", {background:"white", font:"bold 12px Arial"}]
		tooltips[207]=["images/fairy party1234.jpg", "Just for Kids", {background:"white", font:"bold 12px Arial"}]
		tooltips[208]=["images/pink hens night1234.jpg", "Pre-Wedding", {background:"white", font:"bold 12px Arial"}]
		tooltips[209]=["images/flower set - invite1234.jpg", "Wedding", {background:"white", font:"bold 12px Arial"}]
		tooltips[210]=["images/18th birthday12345 .jpg", "Special Occasions", {background:"white", font:"bold 12px Arial"}]
		tooltips[211]=["images/brone - thank you box12458.jpg", "Centrepieces / Bonbonniere", {background:"white", font:"bold 12px Arial"}]
		

		



		return tooltips //do not remove/change this line
	}(),

	tooltipoffsets: [20, -30], //additional x and y offset from mouse cursor for tooltips

	//***** NO NEED TO EDIT BEYOND HERE

	tipprefix: 'imgtip', //tooltip ID prefixes

	createtip:function($, tipid, tipinfo){
		if ($('#'+tipid).length==0){ //if this tooltip doesn't exist yet
			return $('<div id="' + tipid + '" class="ddimgtooltip" />').html(
				'<div style="text-align:center"><img src="' + tipinfo[0] + '" /></div>'
				+ ((tipinfo[1])? '<div style="text-align:left; margin-top:5px">'+tipinfo[1]+'</div>' : '')
				)
			.css(tipinfo[2] || {})
			.appendTo(document.body)
		}
		return null
	},

	positiontooltip:function($, $tooltip, e){
		var x=e.pageX+this.tooltipoffsets[0], y=e.pageY+this.tooltipoffsets[1]
		var tipw=$tooltip.outerWidth(), tiph=$tooltip.outerHeight(), 
		x=(x+tipw>$(document).scrollLeft()+$(window).width())? x-tipw-(ddimgtooltip.tooltipoffsets[0]*2) : x
		y=(y+tiph>$(document).scrollTop()+$(window).height())? $(document).scrollTop()+$(window).height()-tiph-10 : y
		$tooltip.css({left:x, top:y})
	},
	
	showbox:function($, $tooltip, e){
		$tooltip.show()
		this.positiontooltip($, $tooltip, e)
	},

	hidebox:function($, $tooltip){
		$tooltip.hide()
	},


	init:function(targetselector){
		jQuery(document).ready(function($){
			var tiparray=ddimgtooltip.tiparray
			var $targets=$(targetselector)
			if ($targets.length==0)
				return
			var tipids=[]
			$targets.each(function(){
				var $target=$(this)
				$target.attr('rel').match(/\[(\d+)\]/) //match d of attribute rel="imgtip[d]"
				var tipsuffix=parseInt(RegExp.$1) //get d as integer
				var tipid=this._tipid=ddimgtooltip.tipprefix+tipsuffix //construct this tip's ID value and remember it
				var $tooltip=ddimgtooltip.createtip($, tipid, tiparray[tipsuffix])
				$target.mouseenter(function(e){
					var $tooltip=$("#"+this._tipid)
					ddimgtooltip.showbox($, $tooltip, e)
				})
				$target.mouseleave(function(e){
					var $tooltip=$("#"+this._tipid)
					ddimgtooltip.hidebox($, $tooltip)
				})
				$target.mousemove(function(e){
					var $tooltip=$("#"+this._tipid)
					ddimgtooltip.positiontooltip($, $tooltip, e)
				})
				if ($tooltip){ //add mouseenter to this tooltip (only if event hasn't already been added)
					$tooltip.mouseenter(function(){
						ddimgtooltip.hidebox($, $(this))
					})
				}
			})

		}) //end dom ready
	}
}

//ddimgtooltip.init("targetElementSelector")
ddimgtooltip.init("*[rel^=imgtip]")
