function LoadShowcase()
{
	//Capture which showcase the user wants to load
	showcase = 0;
	var director = location.search.substr(1).split("?");
	showcase = parseInt(director);
	
	//Build the list of images and the descriptions depending on which showcase the user wants to load
	switch(showcase)
	{

	//KITCHENS
	case 1:
		// PICTURE 1
		var pic_FileName1 = "french country kitchen.jpg";
		var pic_Name1 = "French Country Kitchen";
		var pic_Description1 = "This kitchen is crafted from pickled oak with a significant amount of carving work. The arched doors with eye-brow finish and antique french hardware finish the kitchen in a wonderful style. The enlargement below shows a subtle but very large grape vine carving on the custom made refrigerator doors.";
		var pic_LinkCode1 = "1,4";
		// PICTURE 2
		var pic_FileName2 = "charlies oak kitchen.jpg";
		var pic_Name2 = "Red Oak Kitchen with butcher block";
		var pic_Description2 = "This kitchen was carved in red oak spiced with a little color in the grape vines carved into the crown mould. The butcher block forms the center piece of the kitchen with inlayed sink and a large working surface. The kitchen is completed with the country french door style complementing the chrome appliances. The enlargement gives a better view of the crown mould.";
		var pic_LinkCode2 = "1,3";
		// PICTURE 3
		var pic_FileName3 = "hummingbird kitchen.jpg";
		var pic_Name3 = "Hummingbird Kitchen";
		var pic_Description3 = "This kitchen is again cut from red oak with one distinctive feature. The butcher block is 3 inches thick and 8 feet long, taking about three people to lift into position. The solid surface provides the focal point of this kitchen as well as the support for cooktop and sink. The eyebrows doors with glass inlays are etched with hummingbirds and the lower cupboards have running shelves - ideal if you have trouble reaching down - please see the enlargement.";
		var pic_LinkCode3 = "2,5";
		// PICTURE 4
		var pic_FileName4 = "knotty pine kitchen.jpg";
		var pic_Name4 = "Knotty Pine Kitchen";
		var pic_Description4 = "This kitchen is cut in traditional pine evocative of the old country kitchens of my childhood. This kitchen featured in architectural digest and is one of our favourites. The natural look is complemented with delicate finishings and carvings.";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "pickled oak kitchen.jpg";
		var pic_Name5 = "Pickled Oak Kitchen";
		var pic_Description5 = "This pickled oak kitchen is finished with a ghost white and a series of carvings to complement the simplicity of the kitchen.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "maple kitchen.jpg";
		var pic_Name6 = "Oak Kitchen with Arched Top";
		var pic_Description6 = "This oak kitchen is made distinctive by two choices, firstly the dark stain finish and secondly the arch over the cook top. The arch inparticular makes this kitchen unusual and provides a real eye catcher.";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "blank_transparent.gif";
		var pic_Name7 = " ";
		var pic_Description7 = " ";
		var pic_LinkCode7 = "0,0";
	break;

	//BEDROOMS
	case 2:
		// PICTURE 1
		var pic_FileName1 = "victorian bed and set.jpg";
		var pic_Name1 = "Victorian Reproduction Bed";
		var pic_Description1 = "Victorian bed in Cherry and African mahogany burl. This was an over sized king size bed that stood seven and a half feet high, crafted from the magazine photo included below. The only modifications were the size of the headboard and the style of the carvings both of which our client asked to be modified. The headboard and front centre panels are made from a single piece of wood through the centre and folded outward to give the symmetry in the panel.";
		var pic_LinkCode1 = "2,9";
		// PICTURE 2
		var pic_FileName2 = "green top night stand.jpg";
		var pic_Name2 = "Victorian Night-Stand ";
		var pic_Description2 = "This night stand was designed and built to match the Victorian bed in cherry and African mahogany burl topped with solid green marble avonite top. The draws are dove tailed and run almost without a sound.";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "broken pediment cherry bed.jpg";
		var pic_Name3 = "Brocken S Pediment Cherry Bed Set";
		var pic_Description3 = "This is the headboard and nightstand from a cherry bed with brocken five pediment and flamed finishings. The flowers and acorns, like all our work are handcarved after being selected by our clients. ";
		var pic_LinkCode3 = "1,10";
		// PICTURE 4
		var pic_FileName4 = "unfinished oak headboard and nightstand.jpg";
		var pic_Name4 = "Oak Headboard and Nightstands";
		var pic_Description4 = "Oak headboard with carved finales of flower and sea shells. The two matching nightstands shown in front are shown unfinished, capturing the thickness and quality of the wood we use.";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "unfinished oak armoire and table.jpg";
		var pic_Name5 = "Oak Armoire and Table";
		var pic_Description5 = "This solid oak armoire is another piece shown in an unfinished stage, it is at this point that the finishing decisions would be taken.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "blank_transparent.gif";
		var pic_Name6 = " ";
		var pic_Description6 = " ";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "blank_transparent.gif";
		var pic_Name7 = " ";
		var pic_Description7 = " ";
		var pic_LinkCode7 = "0,0";
	break;

	//DINING
	case 3:
		// PICTURE 1
		var pic_FileName1 = "grape overlayed credenza.jpg";
		var pic_Name1 = "Credenza with Grape Vine Carvings";
		var pic_Description1 = "This buffet is cut from a very good grain of oak and carefully detailed with some of the larger style finishings (grape clusters). The draw pulls are shaped as vines, the collars are fluted and again the draws are dovetailed.";
		var pic_LinkCode1 = "0,0";
		// PICTURE 2
		var pic_FileName2 = "white eyebrow china cabinets.jpg";
		var pic_Name2 = "White Eyebrow China Cabinets";
		var pic_Description2 = "Painted breakfront china cabinets with fluted collars, rosettes and shell carving centres with glass eye brow doors";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "maple cabinet with shell bonnet.jpg";
		var pic_Name3 = "Maple Cabinet with Shell Bonnet";
		var pic_Description3 = "Set into the corner of the dining room this cabinet was designed for fine china. The simplicity of the cabinet is designed to complement the china, the painted flowers around the piece complete the custom fitted appearance.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "white country cabinets.jpg";
		var pic_Name4 = "White Country French Cabinets";
		var pic_Description4 = "A typical country styled cabinet with plenty of storage space and display space, this one is finished in white but wood look just as good in a natural or dark finish.";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "built in cherry cabinet.jpg";
		var pic_Name5 = "Built in Cherry Cabinet";
		var pic_Description5 = "The deep red of the cherry in this cabinet was chosen to match the existing table and provide a beautiful backdrop to this dining area.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "red oak table.jpg";
		var pic_Name6 = "Red Oak Table";
		var pic_Description6 = "This thick red oak table took four people to lift, now to some that maybe an inconvenience but the deep red of the wood, the quality of the cut and the clients beautifully designed frame make this an antique of the future, a true center-piece of a dining room.";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "blank_transparent.gif";
		var pic_Name7 = " ";
		var pic_Description7 = " ";
		var pic_LinkCode7 = "0,0";
	break;

	//LIBRARY
	case 4:
		// PICTURE 1
		var pic_FileName1 = "fitted oak office.jpg";
		var pic_Name1 = "Fitted Oak Office";
		var pic_Description1 = "Built for a home office of an author who needed a place for all her books but one in which she was comfortable - a place to write. Cut in oak with raised panels and fitted to exact measurements for the width of the room.";
		var pic_LinkCode1 = "0,0";
		// PICTURE 2
		var pic_FileName2 = "distressed maple desk and credenza.jpg";
		var pic_Name2 = "Distressed Maple Desk and Credenza";
		var pic_Description2 = "A true reproduction antique this piece is designed to complete the office in a manner not possible with todays average furniture. The solid maple has been distressed after completion to give a very authentic aged look combined with new quality.";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "computer desk options.jpg";
		var pic_Name3 = "Computer Desk Options ";
		var pic_Description3 = "All our computer desks are built for the full suite of products: printers, scanners, networking equipment and all the other periphery you often forget (like paper or space to lay the power cables.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "malted cherry computer desk.jpg";
		var pic_Name4 = "Malted Cherry Desk with Conch Inlay";
		var pic_Description4 = "This outstanding computer desk is a true one of a kind, the chosen inlay looked superb when set into the deep cherry wood. Built for a very sizable computer this desk is perfect for a home office or family room.";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "pecan wood library.jpg";
		var pic_Name5 = "Pecan Wood Library";
		var pic_Description5 = "Now if your house is big enough and you have a significant book collection then there is always the option of a complete custom carved library including ladder and upper rails, perfect for the old school look.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "fitted library with secret panel.jpg";
		var pic_Name6 = "Fitted Library and Office Space ";
		var pic_Description6 = "The owner of this home business wanted something special in the office, something appropriate to home and work, the library // office was the result, it included a hidden panel complete with gun closet and fitted dove-tail drawers.";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "walnut bar.jpg";
		var pic_Name7 = "Old English Style Maple Bar  ";
		var pic_Description7 = "Solid maple bar detailed with clusters of grapes, carved in maple and set on the surface of the panels. Matching bar stools, bar fully fitted and matched to surrounding brick structure.";
		var pic_LinkCode7 = "0,0";
	break;

	//BATHROOM
	case 5:
		// PICTURE 1
		var pic_FileName1 = "distressed antique vanity.jpg";
		var pic_Name1 = "Distressed Antique Vanity";
		var pic_Description1 = "This vanity is cut from walnut which has subsequently been white-washed. The inlays including the central flower piece are again from walnut, this time with the deep rich color of the wood left to show. The front panel is removable to allow plumbing access.";
		var pic_LinkCode1 = "0,0";
		// PICTURE 2
		var pic_FileName2 = "walnut inlayed vanity.jpg";
		var pic_Name2 = "Vanity with delicate Walnut Inlay";
		var pic_Description2 = "This vanity has been white washed before being transformed into a stunning center-piece of the bathroom with the intricate walnut inlay. The central shelf and panel are readily removable for plumbing access.";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "blank_transparent.gif";
		var pic_Name3 = " ";
		var pic_Description3 = " ";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "blank_transparent.gif";
		var pic_Name4 = " ";
		var pic_Description4 = " ";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "blank_transparent.gif";
		var pic_Name5 = " ";
		var pic_Description5 = " ";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "blank_transparent.gif";
		var pic_Name6 = " ";
		var pic_Description6 = " ";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "blank_transparent.gif";
		var pic_Name7 = " ";
		var pic_Description7 = " ";
		var pic_LinkCode7 = "0,0";
	break;

	//ENTERTAINMENT CENTERS
	case 6:
		// PICTURE 1
		var pic_FileName1 = "black walnut tv center.jpg";
		var pic_Name1 = "Black Walnut TV Center";
		var pic_Description1 = "This TV cabinet was cut from a deep black walnut to complement a light open living room. The country french doors, rosette columns and delicate inlay (see enlargement in carvings and inlays) add a delicate finish to this piece.";
		var pic_LinkCode1 = "0,8";
		// PICTURE 2
		var pic_FileName2 = "distressed pirate chest.jpg";
		var pic_Name2 = "Pirate Chest";
		var pic_Description2 = "300 year old pirate chest created through a heavy distress finish to give the appearance of thick knarled drift wood, the only difference.. this pirate chest has a 27 inch television inside with a soundless lift mechanism, you would never know the TV was there until it pops up at the foot of your bed.";
		var pic_LinkCode2 = "0,6";
		// PICTURE 3
		var pic_FileName3 = "cherry corner cabinet.jpg";
		var pic_Name3 = "Cherry Corner Cabinet";
		var pic_Description3 = "This entertainment center provided space for a 32 inch television and included speaker columns. The speaker fronts are detachable for access to your speakers which nest behind. The piece is finished with fluted columns, rosettes and arched doors.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "cherry corner based full suite.jpg";
		var pic_Name4 = "Fully Fitted Recreation Room ";
		var pic_Description4 = "This floor to ceiling Cherry wood room provided everything from the corner TV cabinet through to the fire surroung and mantel. The eyebrow doors and arch detailing make this complete suite unique. The carpet was due to be changed the following day to complete the room!!!";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "black walnut entertainment center.jpg";
		var pic_Name5 = "Black Walnut Entertainment Center";
		var pic_Description5 = "This is one of our favourite entertainment centers. The use of black walnut with a dark finish makes this a distinct piece. A carved rope runs around the top rim and the arch in the doors has been finished in a light tone to provide a strong contrast. You can see the effect of this contrast together with the quality of the wood in the enlargement below.";
		var pic_LinkCode5 = "1,7";
		// PICTURE 6
		var pic_FileName6 = "stefs hope chest.jpg";
		var pic_Name6 = "Hope Chest";
		var pic_Description6 = "This Hope Chest is simple in its design yet cut in tiger stripe maple and set with a deep tapered carving. I designed and built this myself for my daughter and guarantee this will be looking just as good in many years to come. Please see the enlargement below of the carving.";
		var pic_LinkCode6 = "1,13";
		// PICTURE 7
		var pic_FileName7 = "bedroom entertainment center.jpg";
		var pic_Name7 = "Bedroom Entertainment Center";
		var pic_Description7 = "This entertainment center was built to complement the Brocken Pediment Bed shown in the bedrooms section. Providing both linen or clothing storage and an entertainment center this item was an ideal complement to the bedroom set.";
		var pic_LinkCode7 = "0,0";
	break;

	//MANTELS
	case 7:
		// PICTURE 1
		var pic_FileName1 = "oak grape mantel.jpg";
		var pic_Name1 = "Oak Mantel - Grape Carvings ";
		var pic_Description1 = "This mantel is constructed from oak with grape vine and fruit carvings.";
		var pic_LinkCode1 = "0,11";
		// PICTURE 2
		var pic_FileName2 = "white washed maple mantel.jpg";
		var pic_Name2 = "Maple Mantel";
		var pic_Description2 = "This mantel was constructed from maple before being carved and white washed. The shell and sash style finish provide a distinct look.";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "oak shell mantel.jpg";
		var pic_Name3 = "Oak Shell Mantel";
		var pic_Description3 = "A mantel piece in Oak with clean simple carvings to make a feature out of an old brick wall and built in fire.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "natalie coles bedroom.jpg";
		var pic_Name4 = "Natalies Bedroom";
		var pic_Description4 = "This is a magazine photo of Natalie Coles bedroom in which we built the mantel visible in the background including the intricate carvings slightly above the pictures.";
		var pic_LinkCode4 = "0,12";
		// PICTURE 5
		var pic_FileName5 = "panther creek mantel.jpg";
		var pic_Name5 = "Panther Creek Mantel";
		var pic_Description5 = "This showhouse required a powerful mantel piece and surround to highlight the fireplace and marble work.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "natalie coles living room.jpg";
		var pic_Name6 = "Natalies Living Area";
		var pic_Description6 = "This is a magazine photo of Natalie Coles living room in which we again carved the mantel. The most intricate part of this mantel is the three piece sash that runs across the wood above the fireplace.";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "grand room.jpg";
		var pic_Name7 = "The Grand Room";
		var pic_Description7 = "This spectacular grand room in a Los Angeles house required an antique fireplace to complement the exquists mirror which was to hang over the fire. The mantel we created has delicatly carved columns, a crown like top, rope like sash and intricate central motif.";
		var pic_LinkCode7 = "0,0";
	break;

	//DOORS
	case 8:
		// PICTURE 1
		var pic_FileName1 = "mission style white oak doors.jpg";
		var pic_Name1 = "Mission Style White Oak Doors";
		var pic_Description1 = "Mission style white oak doors with a green-green style";
		var pic_LinkCode1 = "0,0";
		// PICTURE 2
		var pic_FileName2 = "mahogany entrance doors.jpg";
		var pic_Name2 = "Mahogany Entrance Door";
		var pic_Description2 = "This huge mahogany entrance door complete with leaded glass was custom built to order to match the rest of the house.";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "red oak doors.jpg";
		var pic_Name3 = "Red Oak Doors";
		var pic_Description3 = "This door was built in red oak with raised panels and set with ivy leaf leaded glass.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "crotch mahogany doors and surround.jpg";
		var pic_Name4 = "Grand Entrance Door";
		var pic_Description4 = "So if you need a door to really say something then how about this? Several inches thick this crotch mahogany door and full surround provides a true entrance way. Please look closely at the quality of the wood in the central panels.";
		var pic_LinkCode4 = "0,0";
		// PICTURE 5
		var pic_FileName5 = "blank_transparent.gif";
		var pic_Name5 = " ";
		var pic_Description5 = " ";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "blank_transparent.gif";
		var pic_Name6 = " ";
		var pic_Description6 = " ";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "blank_transparent.gif";
		var pic_Name7 = " ";
		var pic_Description7 = " ";
		var pic_LinkCode7 = "0,0";
	break;

	//MOULDINGS AND CARVINGS
	case 9:
		// PICTURE 1
		var pic_FileName1 = "carved walnut vine.jpg";
		var pic_Name1 = "Carved Walnut Vine";
		var pic_Description1 = "This is a close up of a panel from the front of a bar, it is possibly the finest inlay that could be cut and I challenge you to find better. The dark walnut moulding has a crape vine entwined around it, this vine actually climbs over the inlay to give the most surreal three dimensional appearance. Even at knee height this carving the showpiece of the bar. ";
		var pic_LinkCode1 = "0,0";
		// PICTURE 2
		var pic_FileName2 = "part sanded pecan carving.jpg";
		var pic_Name2 = "Carved Pecan Cabinet";
		var pic_Description2 = "This cabinet was cut from wood taken from a pecan nut tree, first painted white and then sanded through to give an aged look";
		var pic_LinkCode2 = "0,0";
		// PICTURE 3
		var pic_FileName3 = "ornamental inlay.jpg";
		var pic_Name3 = "Ornamental Inlay";
		var pic_Description3 = "Unfortunately this image has not come out so well but I hope you can see the delicate nature of this inlay, a basket of pink and green flowers set in a light finish with dark surround.";
		var pic_LinkCode3 = "0,0";
		// PICTURE 4
		var pic_FileName4 = "writing desk.jpg";
		var pic_Name4 = "Writing Desk";
		var pic_Description4 = "The writing desk included here has a similar inlay to the previous picture but this has been included mostly just to show off the writing desk, please click the link below to see the desk opened.";
		var pic_LinkCode4 = "2,14";
		// PICTURE 5
		var pic_FileName5 = "hand carved mirrors.jpg";
		var pic_Name5 = "Hand Carved Mirrors";
		var pic_Description5 = "A quick example of our carving work in these Victorian style hand held mirrors. If you like these then please call us, they are for sale at a very reasonable price.";
		var pic_LinkCode5 = "0,0";
		// PICTURE 6
		var pic_FileName6 = "custom carvings.jpg";
		var pic_Name6 = "Carving Options";
		var pic_Description6 = "A small sample of some of our more commonly requested carvings which are often used to provide the piece with a distinctive and powerful finish.";
		var pic_LinkCode6 = "0,0";
		// PICTURE 7
		var pic_FileName7 = "mouldings.jpg";
		var pic_Name7 = "Moulding Options ";
		var pic_Description7 = "A small sample of the possible styles of mouldings available to our customers.";
		var pic_LinkCode7 = "0,0";
	break;

	default:
		alert("Master's Touch Showcase is temporarily unavailable")

	}

	// String Variables
	var myHeader01 = "<!-- Load the showcase pictures depending on the user selection -->";
	var myHeader02 = "<!-- Thumbnail Pictures & Swapping Code -->";
	var myHeader03 = "<td><img src=\"./images/framework/blank_transparent.gif\" width=8></td>";
	var mySubHeader01 = "<!-- ***** PICTURE ***** -->";
	var myCode01 = "<td><a href=\"./images/custom furniture/";	
	/// var myCode02 = pic_FileName
	var myCode03 = "\" ";
	var myCode04 = "onclick=\"document.images.imgMain.src=this.href;";
	var myCode05 = "document.getElementById(\'pic_Name\').innerHTML=\'";
	/// myCode06 = pic_Name
	var myCode07 = "\'; ";
	var myCode08 = "document.getElementById(\'pic_Description\').innerHTML=\'";
	/// myCode09 = pic_Description
	var myCode10 = "\'; ";
	var myCode11 = "document.getElementById(\'pic_Href\').href=\'javascript:OpenViewer(";
	/// myCode12 = pic_LinkCode
	var myCode13 = ")\'; ";
	var myCode14 = "document.getElementById(\'pic_Link\').innerHTML=\'\'; ";
	var myCode15 = "document.getElementById(\'pic_Price\').innerHTML=\'\'; ";
	var myCode16 = "document.getElementById(\'pic_DeliveryTimescale\').innerHTML=\'\'; ";
	var myCode17 = "return false;\"> ";
	var	myCode18 = "<img border=0 height=67 src=\"./images/custom furniture/";
	/// myCode19 = pic_FileName
	var myCode20 = "\">";
	var myCode21 = "</a></td><td><img width=15 src=\"./images/framework/blank_transparent.gif\"></td>";
	var myFooter01 = "<td><img width=8 height=67 src=\"./images/framework/blank_transparent.gif\"></td>";


	// Constructor
	var myHeader = myHeader01 + myHeader02 + myHeader03;
	var mySubHeader = mySubHeader01;
	var myFooter = myFooter01;


	// THIS IS THE KEY FUNCTION

	var myCode = "none";
	var FileName = "none";
	var Name = "none";
	var Description = "none";
	var LinkCode = "none";

	document.write(myHeader);
	
	// perform a document.write for each of the pictures, up to a maximum of seven
	for (var i=1; i <= 7; i++)
	{
		eval("FileName = pic_FileName" + i);
		eval("Name = pic_Name" + i);
		eval("Description = pic_Description" + i);
		eval("LinkCode = pic_LinkCode" + i);

		// is there an enlarged image for this page
		if (LinkCode != "0,0")
		{
			myCode14 = "document.getElementById(\'pic_Link\').innerHTML=\'click for close up\'; ";
		}
		else
		{
			myCode14 = 	"document.getElementById(\'pic_Link\').innerHTML=\'\'; ";
		}

		myCode = myCode01 + FileName + myCode03 + myCode04 + myCode05 + Name + myCode07 + myCode08 + Description + myCode10 + myCode11 + LinkCode + myCode13 + myCode14 + myCode15 + myCode16 + myCode17 + myCode18 + FileName + myCode20 + myCode21;
		
		// write out the html
		document.write(mySubHeader);
		document.write(myCode);
    }

	document.write(myFooter);

}
