function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}

function getMenuBar(selected) {
	return '<center><table class="header">' +
	          '<tr><td class="header_logo"><img  class="logo" src="images/logo_simple_light.png"></td><td class="header"><center>Creating Beautiful Stationery to Cherish</center></td><td class="header_dummy"></td></tr>' +
	           '<tr><td colspan="3"><table class="menuBar"><tr>' + 
	           makeButton("index.html", "Home", selected) + 
			   makeButton("weddings_and_civil_partnerships.html", "Weddings & Civil Partnerships", selected) +
			   makeButton("favours.html", "Favours", selected) +
			   makeButton("anniversaries.html", "Anniversaries & Life Celebrations", selected) +
			   makeButton("kids_stuff.html", "Kids Stuff", selected) +		   
			   makeButton("corporate.html", "Corporate/Charity", selected) +	
			   makeButton("gift_wrapping.html", "Gift Wrapping", selected) +					   
			   makeButton("links.html", "Links", selected) +	
			   makeButton("news.html", "News", selected) +	
			   makeButton("testimonials.html", "Testimonials", selected) +				   
			   makeButton("contact_us.html", "Contact Us", selected) +					   
			   '</tr></table></td></tr></table></center>'
}

function makeBackButton(href) {
	return '<table class="menuBack"><tr>' + makeButton(href, "Back", "?????") + '</tr></table>';
}

function makeButton(href, label, selected) {
	if(selected == href)  {
				return '<td class="button_selected" onMouseOver="style.backgroundColor=\'#a3a98f\';"  onMouseOut="style.backgroundColor=\'#a3a98f\';"><a class="button" href="' 
						+ href + '"><center>' + label + '</center></a></td>'
	} else {
				return '<td class="button" onMouseOver="style.backgroundColor=\'#ffffb4\';"  onMouseOut="style.backgroundColor=\'#e8edd7\';"><a class="button" href="' 
						+ href + '"><center>' + label + '</center></a></td>'
	}
}

function makePhoto(img, href, label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><a class="nolink" href="' + href +'"><img class="album" src="' + img + '"/></a></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
				'<tr><td class="footnote" colspan="3"><a class="nolink" href="' + href + '"><center>' + label + '</center></a></td></tr>' +
				'</table>'
}

function makePhotoNoRef(img,label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><img class="album" src="' + img + '"/></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
                '<tr><td class="footnote" colspan="3"><center>' + label + '</center></td></tr>' +
				'</table>'
}

function makePhotoEnlargeLink(img, imgLarge, label) {
	if( !label ) {
		label = 'Click to Enlarge'
	}
	
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><a class="nolink" href="' + imgLarge + '" target="_blank"><img class="album" src="' + img + '"/></a></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +				
				'<tr><td class="footnote" colspan="3"><a class="nolink" href="' + imgLarge + '" target="_blank"><center>' + label + '</center></a></td></tr>' +
				'</table>'
}

function makePhotoMed(img,label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><img class="album_med" src="' + img + '"/></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
				'<tr><td class="footnote" colspan="3"><center>' + label + '</center></td></tr>' +
				'</table>'
}

function makePhotoBig(img,label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><img class="album_big" src="' + img + '"/></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
				'<tr><td class="footnote" colspan="3"><center>' + label + '</center></td></tr>' +
				'</table>'
}

function makePhotoBigPortrait(img,label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><img class="album_big_portrait" src="' + img + '"/></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
				'<tr><td class="footnote" colspan="3"><center>' + label + '</center></td></tr>' +
				'</table>'
}

function makePhotoPortrait(img,label) {
	return '<table border="0" cellpadding="0" cellspacing="0" background="#ffffff">' +
				'<tr><td><img src="images/home/album_top_left.png" /></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_top_right.png" /></td></tr>' +
				'<tr><td  class="photo"></td>' +
				'<td><img class="album_small_portrait" src="' + img + '"/></td>' +
				'<td class="photo"></td></tr>' +
				'<tr><td><img src="images/home/album_bottom_left.png"/></td>' +
				'<td class="photo"></td>' +
				'<td><img src="images/home/album_bottom_right.png" /></td></tr>' +
				'<tr><td class="footnote" colspan="3"><center>' + label + '</center></td></tr>' +
				'</table>'
}

function makeFooter() {
	return '<table class="footer"><tr><td class="footer"><center>Creating Memories to Cherish</center></td></tr></table>'
}

function makeCopyright() {
    var now = new Date();
	return '<hr><table border="0" width="100%"><tr>' +
	'<td align="left"><font class="copyright">© Copyright Cherish-Stationery & Favours 2010-' + now.getFullYear() + '</font></td>' +
	'<td align="right"><a href="http://www.facebook.com/people/Cherish-Stationery/100001345654659" target="_blank" ><img src="images/facebook.bmp"/></a></td>' +
	'<td align="right"><img src="images/paypal.bmp"/></td>' + 
	'</tr></table>'
}


function showRange(rangeName) {
    if(       rangeName == 'Abby' ) {
        return showAbby();
    } else if(rangeName == 'Alexis') {
        return showAlexis();		
    } else if(rangeName == 'Audrey') {
        return showAudrey();
    } else if(rangeName == 'Calam') {
        return showCalam();		
    } else if(rangeName == 'Cameron') {
        return showCameron();
    } else if(rangeName == 'Carmel') {
        return showCarmel();     
    } else if(rangeName == 'Caroline') {
        return showCaroline();
    } else if(rangeName == 'Colin') {
        return showColin();		
    } else if(rangeName == 'Cary') {
        return showCary();
    } else if(rangeName == 'Claire') {
        return showClaire();  
    } else if(rangeName == 'Daisy') {
        return showDaisy();
    } else if(rangeName == 'Del') {
        return showDel();
    } else if(rangeName == 'Denise') {
        return showDenise();  
    } else if(rangeName == 'Eithne') {
        return showEithne();  		
    } else if(rangeName == 'Ellen') {
        return showEllen();  
    } else if(rangeName == 'Esther') {
        return showEsther(); 		
    } else if(rangeName == 'Felicity') {
        return showFelicity();          
    } else if(rangeName == 'Fiona') {
        return showFiona();  
    } else if(rangeName == 'Frances') {
        return showFrances();
    } else if(rangeName == 'Fraser') {
        return showFraser();
    } else if(rangeName == 'Glen') {
        return showGlen();  		
    } else if(rangeName == 'Grace') {
        return showGrace(); 
    } else if(rangeName == 'Gregory') {
        return showGregory();            
    } else if(rangeName == 'Heather') {
        return showHeather();          
    } else if(rangeName == 'Ian') {
        return showIan();
    } else if(rangeName == 'Iona') {
        return showIona();  		
    } else if(rangeName == 'Isla') {
        return showIsla();        
    } else if(rangeName == 'Jan') {
        return showJan();
    } else if(rangeName == 'Jennifer') {
        return showJennifer();  
    } else if(rangeName == 'Jilly') {
        return showJilly();      
    } else if(rangeName == 'Katrina') {
        return showKatrina();   		
    } else if(rangeName == 'Laura') {
        return showLaura();
    } else if(rangeName == 'Lisa') {
        return showLisa();
    } else if(rangeName == 'Lorna') {
        return showLorna();		
    } else if(rangeName == 'Lyndsay') {
        return showLyndsay();  
    } else if(rangeName == 'Marilyn') {
        return showMarilyn();
    } else if(rangeName == 'Mediaeval') {
        return showMediaeval();
    } else if(rangeName == 'Meg') {
        return showMeg(); 
    } else if(rangeName == 'Neil') {
        return showNeil(); 
    } else if(rangeName == 'Nerisa') {
        return showNerisa(); 		
    } else if(rangeName == 'Noelle') {
        return showNoelle(); 		
    } else if(rangeName == 'Octavia') {
        return showOctavia();
    } else if(rangeName == 'Pamela') {
        return showPamela();
    } else if(rangeName == 'Philip') {
        return showPhilip();		
    } else if(rangeName == 'Rachael') {
        return showRachael();
    } else if(rangeName == 'Richard') {
        return showRichard();    
    } else if(rangeName == 'Rory') {
        return showRory();  	
	} else if(rangeName == 'Rosalynn') {
	    return showRosalynn();  
    } else if(rangeName == 'Shelley') {
        return showShelley();		
    } else if(rangeName == 'Sophie') {
        return showSophie();  
    } else if(rangeName == 'Susan') {
        return showSusan();
    } else if(rangeName == 'Vanessa') {
        return showVanessa();  		
    } else if(rangeName == 'Yvonne') {
        return showYvonne();       
    }
}
    


function showAbby() {
    var name = 'Abby Range';
    var desc = 'A range for those who are looking for something a bit different - feel the luxury of flocked paper.';
    var thumbnail = 'images/weddings/abby_range.jpg';
    var image = 'images/abby/abby_range_large.jpg';
    var prices = [ ["Invite", "£3.00"], ["Rsvp","£1.50"], ["Favour", "£1.75"]];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showAlexis() {
    var name = 'Alexis Range';
    var desc = 'A delicate lace and Swarovski crystal detail make this a pretty choice.  Ribbon can be added and colours of card and crystals can be varied to match your colours.  A versatile and flexible range that is adaptable to different card shapes and sizes.';
    var thumbnail = 'images/weddings/alexis_range.jpg';
    var image = 'images/alexis/alexis_range_large.jpg';
    var prices = [ ["Wardrobe Door invite ", "from £3.75"]];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showAudrey() {
    var name = 'Audrey Range';
    var desc = 'A beautiful black and white floral range with satin ribbon used for the addition of subtle colour.';
    var thumbnail = 'images/weddings/audrey_range.jpg';
    var image = 'images/audrey/audrey_range_large.jpg';
    var prices = [];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showCameron() {
    var name = 'Cameron Range';
    var desc = 'Silver detailed cardstock with emboseed Rennie MacIntosh design, with matching mounts. Tartan ribbon can be selected to suit your clan.';
    var thumbnail = 'images/weddings/cameron_range.jpg';
    var image = 'images/cameron/cameron_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showCalam() {
    var name = 'Calam Range';
    var desc = 'A range made especially for a couple that blends the bride’s favourite flowers with her groom’s Irish tartan.  Colours of card, crystals, ribbons and flowers can be varied to suit your taste.';
    var thumbnail = 'images/weddings/calam_range.jpg';
    var image = 'images/calam/calam_range_large.jpg';
    var prices = [['Pocketfold Invitation with RSVP card and envelope ','from £4.85'],
	                     ['Evening invitation/Civil partnership with envelope ','from £2.85']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showCarmel() {
    var name = 'Carmel Range';
    var desc = 'Beautiful ivory Pearlescent paper with white flocked heart detailing is elegant and has to be seen (and touched!) to be fully appreciated. Crystal, pearl and ribbon detail can be adapted to taste.';
    var thumbnail = 'images/weddings/carmel_range.jpg';
    var image = 'images/carmel/carmel_range_large.jpg';
    var prices = [['Pocketfold Invitation','from £4.75'],
                  ['Evening invitation','from £2.75']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showColin() {
    var name = 'Colin Range';
    var desc = 'A versatile Celtic range that has been embossed in silver but this can be varied as can the card and the mounting card colours.  Ribbons, including tartan choices can also be added, as can Swarovski crystals.';
    var thumbnail = 'images/weddings/colin_range.jpg';
    var image = 'images/colin/colin_range_large.jpg';
    var prices = [['Square invitation with RSVP and 1 envelope','£4.25'],
	              ['Rectangle invitation with 1 envelope','£3.00'],
	              ['Tall Order of Service','£4.00']];
	
    return showCard(name, desc, thumbnail, image , prices);
}

function showCaroline() {
    var name = 'Caroline Range';
    var desc = 'A delicate floral embossed card with satin ribbon softly gathered with a diamante buckle makes this an elegant choice.';
    var thumbnail = 'images/weddings/caroline_range.jpg';
    var image = 'images/caroline/caroline_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showCary() {
    var name = 'Cary Range';
    var desc = 'A classy black and white range with subtle patterned black card. Samples show the addition of Swarovski crystals, satin ribbon and ornate cut detail. These can be altered to suit colour palette.';
    var thumbnail = 'images/weddings/cary_range.jpg';
    var image = 'images/cary/cary_range_large.jpg';
    var prices = [['Gatefold invitation','£4.50'],
                  ['Evening invitation','£2.75'],
                  ['Thank you card','£2.50'],
                  ['Place card','£1.20']];
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showClaire() {
    var name = 'Claire Range';
    var desc = 'A delicate Swarovski crystal heart and coloured butterflies make this a dainty range. Colours of ribbon and butterflies can be matched to your scheme.';
    var thumbnail = 'images/weddings/claire_range.jpg';
    var image = 'images/claire/claire_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showDaisy() {
    var name = 'Daisy Range';
    var desc = 'A lovely simple range in ivory or white Pearlescent card. Swarovski crystals, ribbons and mounting card will be matched to your own colours.';
    var thumbnail = 'images/weddings/daisy_range.jpg';
    var image = 'images/daisy/daisy_range_large.jpg';
    var prices = [['Wedding invitation','from £2.00'],
                  ['Evening invite','from £2.00'],
                  ['Decorated place card but you write the names','from £0.60']];
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showDel() {
    var name = 'Del Range';
    var desc = 'An elegant range that is enhanced with subtle Swarovski crystal detailing. Can be adapted with ribbon and/or matched to your colours.';
    var thumbnail = 'images/weddings/del_range.jpg';
    var image = 'images/del/del_range_large.jpg';
    var prices = [['Square invitations','from £2.75'],
                  ['Small Evening invitation','from £2.25'],
                  ['Flat square menu','from £2.50'],
                  ['Double sided table name/number','£4.00'],
                  ['Wardrobe door order of service','from £2.50'],
                  ['Thank you card','from £2.25']];
             
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showDenise() {
    var name = 'Denise Range';
    var desc = 'A luxurious purple and gold flocked paper that is velvety to touch and looks gorgeous with ivory card.';
    var thumbnail = 'images/weddings/denise_range.jpg';
    var image = 'images/denise/denise_range_large.jpg';
    var prices = new Array();
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showEithne() {
    var name = 'Eithne Range';
    var desc = 'A Celtic design presented in Sapphire, silver and ivory.  Tartan or plain ribbon can be added or left off – you choose!.  Very adaptable as it can be matched to your colours and your tartan.';
    var thumbnail = 'images/weddings/eithne_range.jpg';
    var image = 'images/eithne/eithne_range_large.jpg';
    var prices = [['Pocketfold invitation with rsvp and envelope','from £4.50'],
	              ['Square invitation with envelope','from £3.00'],
				  ['Wardrobe door invitation with envelope','from £3.75'],
				  ['Order of Service','from £4.00']];
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showEllen() {
    var name = 'Ellen Range';
    var desc = 'A versatile flocked paper in a beautiful teal colour. Can be matched with gold or ivory cardstock so can be adapted to a variety of occasions.';
    var thumbnail = 'images/weddings/ellen_range.jpg';
    var image = 'images/ellen/ellen_range_large.jpg';
    var prices = [['Save The Date Heart',''],
                  ['Fold Out Wallet Invitation','£4.95'],
                  ['Evening Invitation Card','£3.00'],
                  ['Tall Order Of Service','£3.95'],
                  ['Thank You Card','£2.50'],
                  ['Tall Pull Out Wallet Menu','£3.95'],
                  ['Napkin Name Tag',''],
                  ['2-in-1 Name Card & Favour',''],
                  ['3-in-1 Name Card, Favour & Menu',''],
                  ['Table Number','£3.00'],
                  ['Menu Scroll',''],
                  ['Order Of Service Scroll','']];
                                    
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showEsther() {
    var name = 'Esther Range';
    var desc = 'This stationery was inspired by a wedding taking place in Ireland. The Yorkshire Rose and Shamrock detail represent the ' +
	           ' bride and groom and their respective cultures/heritage. Colours and detailing can be altered to your requirements.';
    var thumbnail = 'images/weddings/esther_range.jpg';
    var image = 'images/esther/esther_range_large.jpg';
    var prices = new Array();
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showFelicity() {
    var name = 'Felicity Range';
    var desc = 'The subtle pink and silver detail on these invitations lends itself well to a flexible option if these are your chosen colours.';
    var thumbnail = 'images/weddings/felicity_range.jpg';
    var image = 'images/felicity/felicity_range_large.jpg';
    var prices = [['Pocketfold wallet with envelope and RSVP','from £4.75'],
                  ['Evening invitation with envelope','from £2.75']];
                                    
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showFraser() {
    var name = 'Fraser Range';
    var desc = 'Crisp white backdrop sets off this simple Rennie-MacIntosh inspired range. Tartan ribbon and background colours can be altered to your requirements.';
    var thumbnail = 'images/weddings/fraser_range.jpg';
    var image = 'images/fraser/fraser_range_large.jpg';
    var prices = [['Square Pull Out Wallet Save The Date','£4.50'],
                  ['Square Wedding Invitation','£3.75'],
                  ['Tall Pull Out Wallet Civil Partnership','£3.95'],
                  ['Large Order Of Service','£3.95'],
                  ['Thank You Card','£2.50'],
                  ['Napkin Name Tag','£2.00'],
                  ['Traditional Place Card','£1.20'],
                  ['Flat Menu','£3.50'],
                  ['Table Number - doubled sided with tartan ribbon and crystals','£4.50'],
                  ['Menu Scroll','£2.00'],
                  ['Order Of Service Scroll','£2.00']];
    
    return showCard(name, desc, thumbnail, image , prices);
}


function showFiona() {
    var name = 'Fiona Range';
    var desc = 'This black Gothic stationery was specially designed for a couple using elegant patterns, raspberry coloured detail and gold Celtic hearts that were inspired by the bride’s gown. This range can be adapted to suit many colours.';
    var thumbnail = 'images/weddings/fiona_range.jpg';
    var image = 'images/fiona/fiona_range_large.jpg';
    var prices = [["Pocketfold Wallet and insert cards", "from £4.95"], 
                  ["2 in 1 Personalised Name card/Menu","from £2.50"],
				  ["Order of Service","£4.00"]];

    return showCard(name, desc, thumbnail, image , prices);
}

function showFrances() {
    var name = 'Frances Range';
    var desc = 'A very versatile range with intricately cut card in colours to suit you.';
    var thumbnail = 'images/weddings/frances_range.jpg';
    var image = 'images/frances/frances_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showGlen() {
    var name = 'Glen Range';
    var desc = 'A truly bespoke invitation designed for a couple marrying in the winter time at a Distillery.  Inspiration for the copper detailing on these invitations was taken from the whisky stills at the wedding venue.  This is a flexible design that can be matched to your colours and additional detail such as tartan ribbon can also be added.';
    var thumbnail = 'images/weddings/glen_range.jpg';
    var image = 'images/glen/glen_range_large.jpg';
    var prices = [['Pocketfold invitation' ,'prices from £4.50']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showGrace() {
    var name = 'Grace Range';
    var desc = 'A beautiful black and white floral range dressed with satin ribbons and Swarovski crystals';
    var thumbnail = 'images/weddings/grace_range.jpg';
    var image = 'images/grace/grace_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showGregory() {
    var name = 'Gregory Range';
    var desc = 'Another black and white range inspired by bygone Hollywood movies! The black embossed detail has a sheen and a slightly raised texture. Teal ribbon and mounting card have been used but these details can be altered to your requirements.';
    var thumbnail = 'images/weddings/gregory_range.jpg';
    var image = 'images/gregory/gregory_range_large.jpg';
    var prices = [['Pocketfold invitation with 2 insert cards and envelope','from £4.50'],
                  ['Square invitation and envelope','from £3.00'],
                  ['Evening invitation and envelope','from £2.50'],
                  ['Place card','£1.10']];
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showHannah() {
    var name = 'Hannah Range';
    var desc = 'Textured card with two tone hearts. The coloured heart and ribbon can be matched to your own colour scheme. Swarovski crystals give this range a lovely sparkle.';
    var thumbnail = 'images/weddings/hannah_range.jpg';
    var image = 'images/hannah/hannah_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showHeather() {
    var name = 'Heather Range';
    var desc = 'This Rennie Mackintosh Rose Design can be dressed up with ribbons or kept crisp and simple with the embossed detailing. Definitely a range that can be altered and adapted.';
    var thumbnail = 'images/weddings/heather_range.jpg';
    var image = 'images/heather/heather_range_large.jpg';
    var prices = [["Square wedding invitation", "from £3.00"], 
                  ['Small Evening invitation','from £2.25'],
                  ['Wardrobe door invitation','from £4.00'],
                  ["Decorated place card but you write the names","from £0.60"]];
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showIan() {
    var name = 'Ian Range';
    var desc = 'This art-deco inspired stationery is understated and elegant. It is very versatile and colours can be varied.';
    var thumbnail = 'images/weddings/ian_range.jpg';
    var image = 'images/ian/ian_range_large.jpg';
    var prices = [['Square Invitation','from £3.00'],
                   ['Evening Invitation','from £3.00']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showIona() {
    var name = 'Iona Range';
    var desc = 'A non-symmetrical Celtic cross forms part of the design for the embossed detail.  A very flexible and versatile image to use which can be adapted to suit your own colours and use of tartan.  This range can be dressed up or down with the use of Swarovski crystals too.  Simple elegance!';
    var thumbnail = 'images/weddings/iona_range.jpg';
    var image = 'images/iona/iona_range_large.jpg';
    var prices = [['Long pocketfold Invitation with RSVP and envelope','from £4.50'],
                  ['Square pocketfold with RSVP and envelope','from £4.50'],
                  ['Order of Service','from £3.50']];

    
    return showCard(name, desc, thumbnail, image , prices);
}

function showIsla() {
    var name = 'Isla Range';
    var desc = 'These invitations are fun and were designed specially for a couple who farm Friesian cows, which became the inspiration for all of the pieces.';
    var thumbnail = 'images/weddings/isla_range.jpg';
    var image = 'images/isla/isla_range_large.jpg';
    var prices = [['Pocketfold invitation','£4.75'],
                  ['Pocketfold invitation - Envelope with cow pattern on flap','£4.80'],
                  ['Pocketfold invitation - Envelope with cow on front and cow pattern on flap','£4.90'],
                  ['Evening invitation','from £1.75'],
                  ['Order of Service','from £3.00'],
                  ['Set Flat Menu','£1.50'],
                  ['Personalised Flat Menu','£1.75'],
                  ['Place cards','from £0.85']];

    
    return showCard(name, desc, thumbnail, image , prices);
}

function showJan() {
    var name = 'Jan Range';
    var desc = 'Dainty flowers with Swarovski crystal centres, make this an elegant, understated range.';
    var thumbnail = 'images/weddings/jan_range.jpg';
    var image = 'images/jan/jan_range_large.jpg';
    var prices = [['Wedding Invitation','from £2.50'],
                  ['Wallet invitation (many colours available)','from £4.25'],
                  ['Double sided table number','from £4.00'],
                  ['Place card','from £0.60'],
                  ['Menu','from £2.50'],
                  ['Save The Date','from £1.50']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showJennifer() {
    var name = 'Jennifer Range';
    var desc = 'These ivory and peach invitations have delicate lace and chiffon ribbon detail and are finished with a Swarovski crystal. Colours and styles of invitations can be varied.';
    var thumbnail = 'images/weddings/jennifer_range.jpg';
    var image = 'images/jennifer/jennifer_range_large.jpg';
    var prices = [["Invitation with RSVP card and envelope", "from £4.00"]];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showJilly() {
    var name = 'Jilly Range';
    var desc = 'A totally bespoke invitation that used ivory card, vellum and chiffon ribbon and an elegant font.';
    var thumbnail = 'images/weddings/jilly_range.jpg';
    var image = 'images/jilly/jilly_range_large.jpg';
    var prices = new Array();
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showKatrina() {
    var name = 'Katrina Range';
    var desc = 'Hearts and Swarovski crystals make this simple design unfussy but elegant.  It can be dressed up with ribbons and is suitable for a wide range of invitation styles.';
    var thumbnail = 'images/weddings/katrina_range.jpg';
    var image = 'images/katrina/katrina_range_large.jpg';
    var prices = [["Small rectangle with envelope", "from £2.75"],
	              ["Small wardrobe door","from £3.50"],
				  ["Large square wardrobe door with envelope","from £4.00"]];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showLaura() {
    var name = 'Laura Range';
    var desc = 'Like the Lyndsay range, this table plan was for a Scottish bride and English groom. Colours were matched to the bridesmaids dresses thus adding to a sense of co-ordination.';
    var thumbnail = 'images/weddings/laura_range.jpg';
    var image = 'images/laura/laura_range_large.jpg';
    var prices = [];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showLisa() {
    var name = 'Lisa Range';
    var desc = 'Intricately cut butterflies that sparkle and Swarovski crystal details makes this a tasteful range.';
    var thumbnail = 'images/weddings/lisa_range.jpg';
    var image = 'images/lisa/lisa_range_large.jpg';
    var prices = [["Wedding Invitation", "from £3.00"], 
                  ['Evening Invitation','from £2.50'],
                  ["Traditional Place Card","£1.20"]];                
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showLorna() {
    var name = 'Lorna Range';
    var desc = "The sun dial above the evening ceilidh venue front door was the inspiration for this couple’s evening invitations.  A Swarovski crystal was placed at 7pm to denote the start time of the evening celebrations!!  This can be adapted to your colours and tastes.";
    var thumbnail = 'images/weddings/lorna_range.jpg';
    var image = 'images/lorna/lorna_range_large.jpg';
    var prices = [['Evening invitation' ,'prices from £3.00']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showLyndsay() {
    var name = 'Lyndsay Range';
    var desc = 'A totally bespoke invitation where the simplicity requested by the bride works beautifully, and intertwines the nationalities of the bride and groom.';
    var thumbnail = 'images/weddings/lyndsay_range.jpg';
    var image = 'images/lyndsay/lyndsay_range_large.jpg';
    var prices = [["Wallet invitation with envelope and 1 single unmounted card insert", "£3.00"], 
                  ["Evening Invitation and envelope","£2.00"]];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showMarilyn() {
    var name = 'Marilyn Range';
    var desc = 'This simple but elegant range is presented in black and white but can be adapted to any colour choice and can include Swarovski crystals that will be chosen to match your colours.';
    var thumbnail = 'images/weddings/marilyn_range.jpg';
    var image = 'images/marilyn/marilyn_range_large.jpg';
    var prices = [["Gatefold invitation", "from £3.50"], 
                  ['Square evening invitation','£3.50'],
                  ['Flat menu','from £1.50'],
                  ["Place card","from £0.60"]];               
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showMediaeval() {
    var name = 'Mediaeval Range';
    var desc = 'This specially designed mediaeval themed range, draws on shields, aged paper and tartan ribbon to give the perfect finishing touches for this unique range.';
    var thumbnail = 'images/weddings/mediaeval_range.jpg';
    var image = 'images/mediaeval/mediaeval_range_large.jpg';
    var prices = [["Order of service scroll", "from £2.50"],
                  ['Individual Table Plan Shields','£4.00'],
                  ['3 in 1 Favour/Name Card and Menu (excluding favour)','from £2.25'],    
                  ["Double sided table name shields","£6.50"]];

    return showCard(name, desc, thumbnail, image , prices);
}

function showMeg() {
    var name = 'Meg Range';
    var desc = 'A dainty range of papers decorate this pretty range. Available in a range of colours.';
    var thumbnail = 'images/weddings/meg_range.jpg';
    var image = 'images/meg/meg_range_large.jpg';
    var prices = [['Pocketfold Invitation','from £4.50']];

    return showCard(name, desc, thumbnail, image , prices);
}

function showNeil() {
    var name = 'Neil Range';
    var desc = 'Ivory Pearlescent card offers a lovely backdrop to the foiled muted red hearts and gold trim of this unfussy, elegant range. Ribbons are optional finishing touches.';
    var thumbnail = 'images/weddings/neil_range.jpg';
    var image = 'images/neil/neil_range_large.jpg';
    var prices = [['Invitation wallet with inserts','from £4.50'],
                  ['Square pull out','from £3.50'],
                  ['Rectangular pull out','from £3.50'],
                  ['Evening invitation','from £2.50'],
                  ['Order of Service with ribbons','from £4.25'],
                  ['Tall Menu','from £3.50'],
                  ['Place card (not shown)','from £1.00']];

    return showCard(name, desc, thumbnail, image , prices);
}

function showNerisa() {
    var name = 'Nerisa Range';
    var desc = 'This range was specially designed for a bride and groom who have a black and ivory scheme for their wedding. ' +
	           'Inspiration for the detailing came from the kilts and the bridesmaids dresses, and the thistle was specially' +
			   ' drawn and inspired from thistles I saw on the bonnie banks of Loch Lomond where this couple will also marry.';
    var thumbnail = 'images/weddings/coming_soon.jpg';
    var image = '';
    var prices = new Array();
        
    return showCard(name, desc, thumbnail, image , prices);
}

function showNoelle() {
    var name = 'Noelle Range';
    var desc = 'A simple snowflake with Swarovski crystal detail makes this an appealing range for a wintry celebration – it can be adapted to your taste.';
    var thumbnail = 'images/weddings/noelle_range.jpg';
    var image = 'images/noelle/noelle_range_large.jpg';
    var prices = [['Pocketfold invitation with RSVP and envelope','from £4.75'],
                  ['Tall Order of Service ','from £4.50'],
                  ['Square invitation with rsvp and envelope','from £3.75']];

    return showCard(name, desc, thumbnail, image , prices);
}

function showOctavia() {
    var name = 'Octavia Range';
    var desc = 'A lovely raspberry red invitation with intricate foiled detailing looks beautiful with ivory pearlescent card and satin ribbon.';
    var thumbnail = 'images/weddings/octavia_range.jpg';
    var image = 'images/octavia/octavia_range_large.jpg';
    var prices = [['Pull out Square Wallet with RSVP card','from £4.50'],
                  ['Place Card','£1.25'],
                  ['Menu','from £2.50'],
                  ['Table Plan','from £40'],
                  ['Double sided Table Name/Number','fron £3.75']];

    return showCard(name, desc, thumbnail, image , prices);
}

function showPamela() {
    var name = 'Pamela Range';
    var desc = 'This Table plan was designed to match the couple’s stationery for their winter wedding. Colours can be varied.';
    var thumbnail = 'images/weddings/pamela_range.jpg';
    var image = 'images/pamela/pamela_range_large.jpg';
    var prices = new Array();

    return showCard(name, desc, thumbnail, image , prices);
}

function showPhilip() {
    var name = 'Philip Range';
    var desc = 'This fun flip flop range has sunny shores in mind. Colours can be varied to your taste and additional Swarovski crystals can be added if you wish a bit more sparkle!!';
    var thumbnail = 'images/weddings/philip_range.jpg';
    var image = 'images/philip/philip_range_large.jpg';
    var prices = [['Save the Date Flip Flop','£3.00'],
	              ['Save the Date His "n" Hers flip flops','£3.25'],
				  ['Pocketfold invitation','from £4.50']];
	
    return showCard(name, desc, thumbnail, image , prices);
}

function showRachael() {
    var name = 'Rachael Range';
    var desc = 'Pearlescent card, chiffon ribbon and a Swarovski crystal make this an elegant, unfussy choice that will be matched to your colours.';
    var thumbnail = 'images/weddings/rachael_range.jpg';
    var image = 'images/rachael/rachael_range_large.jpg';
    var prices = [['Square invitation','£2.25'],
                  ['Evening invitation','from £2.00'],
                  ['Thank you card','£1.75'],
                  ['3 in 1 Name Tag, Menu and Favour (excluding favour)','from £1.50'],
                  ['Menu tag','from £1.50'],
                  ['Table Name/Number','from £2.00'],
                  ['Place card','from £1.00']];
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showRichard() {
    var name = 'Richard Range';
    var desc = 'The black velvet detail make this an eye catching and stunning choice which is lovely to touch too! Many looks can be achieved with varying shapes and styles of invitations.';
    var thumbnail = 'images/weddings/richard_range.jpg';
    var image = 'images/richard/richard_range_large.jpg';
    var prices = [['Flat invitation with envelope', '£3.95'], 
                  ['Pull out tall wallet','£4.50'],
                  ['Evening invitation/Thank you with envelope','£2.75']];                   
                  
    return showCard(name, desc, thumbnail, image , prices);
}

function showRory() {
    var name = 'Rory Range';
    var desc = 'A Celtic design presented in sapphire blue and ivory and purple and ivory with Silver embossed detailing.  Can be adapted to your colours, including the Celtic detailing, and the positioning of the Celtic emblem can be altered.';
    var thumbnail = 'images/weddings/rory_range.jpg';
    var image = 'images/rory/rory_range_large.jpg';
    var prices = [[' Pocketfold Invitation with RSVP and envelope', '£4.50'], 
                  ['Square Invitation with envelope','£3.00'],
                  ['Wardrobe door invitation with envelope',' £4.00'],
				  ['Order of Service','£4.00']];                   
              
    return showCard(name, desc, thumbnail, image , prices);
}

function showRosalynn() {
    var name = 'Rosalynn Range';
    var desc = 'This stationery range was designed specially for a couple who had chosen soft pink for their colours.  Pink foiling was used on the invitation banners and pink satin ribbons were also used.  This range can be adapted to your colours and different sizes and styles of invitations can also be chosen.';
    var thumbnail = 'images/weddings/rosalynn_range.jpg';
    var image = 'images/rosalynn/rosalynn_range_large.jpg';
    var prices = [['Long Wallet invitation ', '£4.95 '], 
				  ['Long Pull out invitation ','£4.50']];                   
              
    return showCard(name, desc, thumbnail, image , prices);
}

function showShelley() {
    var name = 'Shelley Range';
    var desc = 'Tropical colours have been used to make this shell range, suitable for beach weddings or celebrations, likely to be abroad.  Colours can be varied to your tastes.';
    var thumbnail = 'images/weddings/shelley_range.jpg';
    var image = 'images/shelley/shelley_range_large.jpg';
    var prices = [['Pocketfold invitation with RSVP and envelope','from £4.50']];
	
    return showCard(name, desc, thumbnail, image , prices);
}

function showSophie() {
    var name = 'Sophie Range';
    var desc = 'Classy and stylish range of satin ribbons and luxurious pearlescent and embossed card with the sparkle of a buckle. The diamante buckle details are available in a range of shapes and sizes.';
    var thumbnail = 'images/weddings/sophie_range.jpg';
    var image = 'images/sophie/sophie_range_large.jpg';
    var prices = [['Save The Date Heart','£2.95'],
                  ['Fold Out Wallet Invitation','£4.50'],
                  ['Evening Invitation Card','£2.50'],
                  ['Tall Civil Partnership','£3.50'],
                  ['Tall Order Of Service','£3.50'],
                  ['Thank You Card','£2.50'],
                  ['Traditional Place Card','£1.50'],
                  ['Table Number','£1.50']];
    
    return showCard(name, desc, thumbnail, image , prices);
}



function showSusan() {
    var name = 'Susan Range';
    var desc = 'Beautiful floral detail and Swarovski crystals make this a very appealing and versatile design. Colours can be varied.';
    var thumbnail = 'images/weddings/susan_range.jpg';
    var image = 'images/susan/susan_range_large.jpg';
    var prices = [['Large square wardrobe','from £3.75']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showVanessa() {
    var name = 'Vanessa Range';
    var desc = 'A bespoke invitation that was designed especially for a bride who was looking for a butterfly theme with “sparkles”!  This is a versatile range that can be adapted to your colours and taste.';
    var thumbnail = 'images/weddings/vanessa_range.jpg';
    var image = 'images/vanessa/vanessa_range_large.jpg';
    var prices = [['Pocketfold invitation ','from £4.50']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

function showYvonne() {
    var name = 'Yvonne Range';
    var desc = 'A specially designed variation of the Jan range where larger crystals and flowers were used, teardrop crystals were added inside and special paper was added to the front and inside of the Pocket invitation. Colours and crystals can be varied.';
    var thumbnail = 'images/weddings/yvonne_range.jpg';
    var image = 'images/yvonne/yvonne_range_large.jpg';
    var prices = [['Pocketfold invitation, envelope and RSVP','£5.25'],
                  ['Evening invitation and envelope','from £2.50']];
    
    return showCard(name, desc, thumbnail, image , prices);
}

// Generates a card displaying details, images and pricing for a given range.
function showCard(name, description, thumbnail, image, prices) {
    var cardStart = '<a name=' + name + '/><table class="banner_90"><tr><td><table class="banner"><tr><td colspan="2">' + name + '</td></tr>';
    var cardDetails = '<tr><td class="banner_top">' + description + '</td>' +
                      '<td class="banner">' + makePhotoEnlargeLink(thumbnail, image) + '</td></tr>'; 
              
     var cardPrices = '';              
    if( prices.length > 0 ) {                  
        cardPrices = '<tr><td>Item</td><td>Unit Cost*</td></tr>';
        for(i = 0; i < prices.length; i++) {
           cardPrices = cardPrices + '<tr><td class="banner">' + prices[i][0] + '</td><td class="banner_cost">' + prices[i][1] + '</td></tr>';
        }
    }
    
    var cardEnd = '</table></td></tr></table>';

    return cardStart + cardDetails + cardPrices + cardEnd + '<br>';
    
} 

function makeVATStatement() {
    return '*Prices include VAT at 20.0%. Prices will vary dependent on specific client requirements/choices.';
}


function makeRangeChooser(ranges, buttonsPerRow, targetPage) {
   var start = '<table class="menuBar90"><tr>';
   var end = '</tr></table>';
   var buttons = '';
   var butCnt = 0;
   
   for(i = 0; i < ranges.length; i++) {
       var href;
       if( targetPage != null ) {
           href = targetPage + "?range=" + ranges[i];
       } else {
           href = '#' + ranges[i];
       }
       
       
       if( buttonsPerRow > 0 && butCnt == buttonsPerRow ) {
            buttons = buttons + '</tr><tr>';
            butCnt = 0;
       }
       
       buttons = buttons + makeButton(href, ranges[i], '????');
       
       butCnt++;
   }
   
   
   return start + buttons + end;
}

function giveMeABreak() {
    return '<br>';
}












