// Get Lang from query string - See similar code in Collection.js and Stores.js

//var Url = unescape(window.document.location);
//if(Url.indexOf("?") > -1)
//{
//	var list1 = Url.split("?");
//	var list2 = list1[1].split ("=");
//	if(list2[0] == 'Lang') { Lang = list2[1]; }
//}

var ToggleButton = '';
var AboutWatiText1 = '';
var AboutWatiText2 = '';

function SetWatiText1HTML(Lang)
{
	var AboutWatiText1 = '';
	if(Lang == 'fr')
	{
		AboutWatiText1 = " <font face=arial size=2><p>La marque &quot;Wati&quot; fut &eacute;tablie en 2004 avec le but de cr&eacute;er de jolis v&ecirc;tements et accessoires pour fillettes &agrave; partir de mod&egrave;les classiques et confortables.</font>";
	}
	else
{
		AboutWatiText1 = "<font face=arial size=2><p>Wati is a former lawyer and graduate of the Fashion Institute of Technology in New York City. Before taking a break to focus on her young family, she enjoyed almost a decade of patternmaking and designing at The GAP and Levi Strauss &amp; Company. Wati founded her eponymous label in 2004 to create beautiful clothing and accessories for girls, of classic and comfortable design.</font>";
	}
	return AboutWatiText1;
}

function SetWatiText2HTML(Lang)
{
	var AboutWatiText2 = '';
	if(Lang == 'fr')
	{
		AboutWatiText2 = "<font face=arial size=2>De parents Indon&eacute;siens, mais grandissant en Australie, Wati a un style emprunt d'originalit&eacute; et d'exotisme, s'orientant particuli&egrave;rement vers le &quot;decontract&eacute;&quot;.&nbsp; C'est sur ses tissus pr&eacute;f&eacute;r&eacute;s, la soie et le coton, qui s'exprime son go&ucirc;t pour les couleurs accentu&eacute;es, les imprim&eacute;s originaux et les ornements fantaisistes. Les costumes traditionels du monde entier, son go&ucirc;t pour les &eacute;toffes anciennes et le fruit de ses voyages en famille, sont pour elle tous sources d'inspiration. Cependant, ce qui vraiment attise son imagination et encourage sa creativit&eacute; sont les enfants, les femmes de sa famille, et les amis qui l'entourent dans sa vie quotidienne.</font>";
	}
	else
	{
		AboutWatiText2 = "<font face=arial size=2>With Indonesian parents and a childhood spent in Australia, Wati's design philosophy is informed by a taste for the different and exotic. Favorite fabrics are silk and cotton. Her clothes show a love of vibrant color, fun prints, and whimsical embellishment. An interest in textiles, traditional costume, fashion history and tailoring, has led Wati to create clothes with unexpected mixes of fabric and embroidery. At every turn, her clothes delight and inspire, reflecting an eclecticism inherent in Wati's approach to living and her own personal style.</font>";
	}
	return AboutWatiText2;
}

function SetWatiToggleHTML(Lang)
{
	var ToggleButton;
	if(Lang == 'fr')
	{
		ToggleButton = "<img src=Images/ToggleEnglish135x20.jpg width=135 height=20 onClick=\"return ChangeLang('eng');\">";
	}
	else
	{
		ToggleButton = "<img src=Images/ToggleFrench135x20.jpg width=135 height=20 onClick=\"return ChangeLang('fr');\">";
	}
	return ToggleButton;
}

function ChangeLang(Lang)
{
	var NewWatiText1 = SetWatiText1HTML(Lang);
	var NewWatiText2 = SetWatiText2HTML(Lang);
	var NewWatiToggle = SetWatiToggleHTML(Lang);
	mywatitext1.innerHTML = NewWatiText1;
	mywatitext2.innerHTML = NewWatiText2;
	mywatitoggle.innerHTML = NewWatiToggle;
	return true;
}


