  <library>
   <include href="bswindow.lzx" />
	<!--include href="av/html5/library.lzx" /-->

   <font name="EstiloText" src="resource/EstiloText.otf"/>
   <attribute name="twidth_g" value="0" type="number"/>
   <attribute name="theight_g" value="0" type="number"/>
	<attribute name="tx_g" value="0" type="number"/>
   <attribute name="ty_g" value="0" type="number"/>
	<attribute name="tbgcolor_g" value="white" type="string"/>
	
	<attribute name="img_gorgeouscabinet" type="number" value="1"/>
	<attribute name="img_gorgeoustable" type="number" value="1"/>
	<attribute name="img_gorgeoussideboard" type="number" value="1"/>
	<attribute name="img_gorgeouslamp" type="number" value="1"/>
	<!--attribute name="pasta_das_imagens" type="string" value="http://localhost:8080/lps-4.9.0/tusse/lib/produtos/"/>
	-->
	
	 <attribute name="posicao_menu" value="0" type="number"/>
	 <attribute name="produto_url" value="http://www.tusse.pt/tusse/index.html?urllink=gorgeous" type="string"/>
	 <attribute name="produto_texto" value="Gorgeous is the piece that shows the essence and Tusse. The transparency of color applied over the gold and silver leaf gives it three-dimensionality, depth and an deep romantic character which captures atention and make you fall in love with it." type="string"/>
	 <attribute name="produto_imagem" value="http://www.tusse.pt/tusse/lib/produtos/gorgeous01.jpg" type="string"/>
	 
   <class name="ie_gorgeouswindow" >



  <bswindow id="w3"  width="${parent.twidth_g}" height="${parent.theight_g}" resizable="false" closeable="false" x="${parent.tx_g}" y="${parent.ty_g}" bgcolor="${parent.tbgcolor_g}">
  <image  x="${w3.width-28}" y="1"  height="25" width="23" resource="resource/close.jpg" stretches="both" onclick="parent.setAttribute('visible',false);video_gorgeous.setAttribute('src','');"/>
<image  x="${w3.width-28-16}" y="2"  height="23" width="16" resource="resource/minimize.jpg" stretches="both"/>
		
		//  Area de informacao   ***********  BODY ****************
		
		<view id="view_gorgeous" y="0" x="0" width="${w3.width-220}" height="${w3.height}" bgcolor="black">
		// VIDEO
		<view id="view_video_gorgeous" x="5" y="5" visible="true">
			
			<html id="video_gorgeous" src="ie_gorgeous.html" x="0" y="0" width="603" height="370" scrollbars="false"/>
		</view>
		
	// THE GALLERY gorgeous CABINET  //height=370  //width=598
		<view id="gallery_gorgeouscabinet" x="10" y="10" visible="false" width="${550}" height="${370}">
			<image  id="img_gallery_gorgeouscabinet" x="0" y="0"  height="100%" width="100%" resource="produtos/gorgeous01.jpg" stretches="both"/>
		</view>
		
		// THE GALLERY gorgeous table  //height=370  //width=598
		<view id="gallery_gorgeoustable" x="10" y="10" visible="false" width="${550}" height="${370}">
			<image  id="img_gallery_gorgeoustable" x="0" y="0"  height="100%" width="100%" resource="produtos/gorgeoustable01.jpg" stretches="both"/>
		</view>
		
		// THE GALLERY gorgeous LAMP  //height=370  //width=598
		<view id="gallery_gorgeouslamp" x="10" y="10" visible="false" width="${550}" height="${370}">
			<image  id="img_gallery_gorgeouslamp" x="0" y="0"  height="100%" width="100%" resource="produtos/gorgeouslamp01.jpg" stretches="both"/>
		</view>
		
		// THE GALLERY gorgeous sideboard  //height=370  //width=598
		<view id="gallery_gorgeoussideboard" x="10" y="10" visible="false" width="${550}" height="${370}">
			<image  id="img_gallery_gorgeoussideboard" x="0" y="0"  height="100%" width="100%" resource="produtos/gorgeoussideboard01.jpg" stretches="both"/>
		</view>
		
		// gorgeous CABINET TEXT
		<view id="gorgeouscabinet_text" x="20" y="25" visible="false">
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="18" width="${view_gorgeous.width-30}" multiline="true"> GORGEOUS CABINET </text> 
		<text x="0" y="50" fgcolor="white" font="EstiloText" fontsize="12" width="${(view_gorgeous.width-30)/2}" multiline="true">  Gorgeous is the piece that shows the essence and Tusse. The transparency of color applied over the gold and silver leaf gives it three-dimensionality, depth and an deep romantic character which captures atention and make you fall in love with it.<br />
        <br />
        With traces in deconstructionism, has an dynamic and organic nature, provided by the triangular shapes that characterize it. Gorgeous is surrounded by 4 feet on a purple tone, interlinked that deﬁne and structure. <br />
        <br />
        Covered in luxurious and vibrant colors, bright, noble materials, it's delicate and sumptuous! Portrayed as a rare jewel searching across visual performance an range of exceptional gems.s and whites, by applying a French techniques that enhances the wood grain, giving the surface similarly smooth.</text> 

		</view>
		
				// gorgeous LAMP TEXT
		<view id="gorgeouslamp_text" x="20" y="25" visible="false">
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="18" width="${view_gorgeous.width-30}" multiline="true"> GORGEOUS LAMP </text> 
		<text x="0" y="50" fgcolor="white" font="EstiloText" fontsize="12" width="${(view_gorgeous.width-30)/2}" multiline="true">  Gorgeous lamp is a unique lamp that personifies elegance and beauty in a classic piece sculpted in a modern twist. <br />
        <br />
        This piece is an experience of elegance and glamour, reflecting a majestic image which fits in various environments.Gorgeous lamp is handmade produced, coated with the finest materials by enhancing their natural nobility. </text> 

		</view>
		
			 // gorgeous TABLE TEXT
		<view id="gorgeoustable_text" x="20" y="25" visible="false">
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="18" width="${view_gorgeous.width-30}" multiline="true"> GORGEOUS TABLE </text> 
		<text x="0" y="50" fgcolor="white" font="EstiloText" fontsize="12" width="${(view_gorgeous.width-30)/2}" multiline="true">  The gorgeous captures the essential magic of light that its 32 painted glass craft projects transforming the places they inhabit. <br />
        <br />
        As a screen of Impressionism, Monet-style parades and vibrant colors combined with a sparkling elegance of Mondrian found that the simplicity of form orthogonal to perfection.</text> 

		</view>
		
			 // gorgeous SIDEBOARD TEXT
		<view id="gorgeoussideboard_text" x="20" y="25" visible="false">
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="18" width="${view_gorgeous.width-30}" multiline="true"> GORGEOUS SIDEBOARD </text> 
		<text x="0" y="50" fgcolor="white" font="EstiloText" fontsize="12" width="${(view_gorgeous.width-30)/2}" multiline="true">  After the huge success of Gorgeous Bar,  Tusse presents Gorgeous Sideboard.
Gorgeous Sideboard is a sumptuous piece, elegant, with fine materials and shiny. <br />
        <br />
         This is a piece of rare beauty that emphasizes all the style of Gorgeous Collection. <br />
         Gorgeous  is the reflection of beauty,  luxury and nobility. It is the continuity of strength and robustness of the Gorgeous Collection. Is the essence Tusse a sideboard that will make you remember the luxurious and exclusive furniture of the past, now reachable in a contemporary tendency. <br />
         Gorgeous Sideboard for our clients Gorgeous. One Gorgeous for other Gorgeous.
         </text> 

		</view>
		
		<view id="informationrequest_gorgeous" x="20" y="25" visible="false">
		
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="18" width="${view_gorgeous.width-30}" multiline="true"> REQUEST MORE INFORMATION </text> 
		<text x="0" y="60" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> Name:</text> 
		<inputtext id="name_g" x="57" y="60" font="EstiloText" fontsize="12" width="200" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="80" fgcolor="white" font="EstiloText" fontsize="12" width="60" multiline="true"> Company:</text> 
		<inputtext id="company_g" x="57" y="80" font="EstiloText" fontsize="12" width="150" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="100" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> Job Title:</text> 
		<inputtext id="jobtitle_g" x="57" y="100" font="EstiloText" fontsize="12" width="100" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="120" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> Phone:</text> 
		<inputtext id="phone_g" x="57" y="120" font="EstiloText" fontsize="12" width="100" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="140" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> Country:</text> 
		<inputtext id="country_g" x="57" y="140" font="EstiloText" fontsize="12" width="100" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="160" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> E-mail:</text> 
		<inputtext id="email_g" x="57" y="160" font="EstiloText" fontsize="12" width="200" bgcolor="#FFFFFF"></inputtext>
		<text x="0" y="180" fgcolor="white" font="EstiloText" fontsize="12" width="50" multiline="true"> Message:</text> 
		<inputtext id="message_g" x="57" y="180" font="EstiloText" fontsize="12" height="100" width="200" bgcolor="#FFFFFF" multiline="true"></inputtext>
		
		<text x="57" y="300" fgcolor="white" font="EstiloText" fontsize="14" width="50" multiline="true" onclick="{w3.SendEmail(name_g.text,email_g.text,'x',country_g.text,phone_g.text,message_g.text,jobtitle_g.text,company_g.text,'Gorgeous Information Request')}"> SEND</text>	
		
		</view>

		
		</view>
		
		
		
		
		
		// Lado esquerdo **********   MENU   **************
		
		<view id="v2_g" width="${220}" height="${w3.height}" y="25" x="${w3.width-this.width}" bgcolor="black">
			<text  x="0" id="text_cursor_v0_g" fgcolor="white" font="EstiloText" fontsize="10" visible="false"> - </text>
			
			<text x="5" y="5" fgcolor="white" font="EstiloText" fontsize="10"> GORGEOUS COLLECTION</text> 
			<image x="${10}" y="28"  height="8" width="180" resource="resource/linha.jpg" stretches="both"/>
			
			//  *******  gorgeous CABINET *********	12/20
			<text id="menu_gorgeouscabinet" x="15" y="48" fgcolor="white" font="EstiloText" fontsize="10" onmouseover="{text_cursor_v0_g.setAttribute('visible',true)};{text_cursor_v0_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v0_g.setAttribute('visible',false)}" onclick="w3.menu_gorgeous_cabinet();{w3.viewapagartudo()};{gallery_gorgeouscabinet.setAttribute('visible',true)};" > GORGEOUS CABINET</text> 	 
			<image x="${10}" y="${menu_gorgeouscabinet.y+12}"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			
			//  *******  gorgeous LAMP *********
			<text id="menu_gorgeouslamp" x="15" y="80" fgcolor="white" font="EstiloText" fontsize="10" onmouseover="{text_cursor_v0_g.setAttribute('visible',true)};{text_cursor_v0_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v0_g.setAttribute('visible',false)}; " onclick="w3.menu_gorgeous_lamp();{w3.viewapagartudo()};{gallery_gorgeouslamp.setAttribute('visible',true)};"> GORGEOUS LAMP</text> 	 
			<image x="${10}" y="${menu_gorgeouslamp.y+12}"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			
			//  *******  gorgeous SIDEBOARD *********
			
			<text id="menu_gorgeoussideboard" x="15" y="112" fgcolor="white" font="EstiloText" fontsize="10" onmouseover="{text_cursor_v0_g.setAttribute('visible',true)};{text_cursor_v0_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v0_g.setAttribute('visible',false)};" onclick="w3.menu_gorgeous_sideboard();{w3.viewapagartudo()};{gallery_gorgeoussideboard.setAttribute('visible',true)};"> GORGEOUS SIDEBOARD</text> 	 
			<image x="${10}" y="${menu_gorgeoussideboard.y+12}"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			
			
			// *******************************
			
			//  *******  gorgeous TABLE *********
			<!--
			<text id="menu_gorgeoustable" x="15" y="112" fgcolor="white" font="EstiloText" fontsize="10" onmouseover="{text_cursor_v0_g.setAttribute('visible',true)};{text_cursor_v0_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v0_g.setAttribute('visible',false)};" onclick="w3.menu_gorgeous_table();{w3.viewapagartudo()};{gallery_gorgeoustable.setAttribute('visible',true)};"> GORGEOUS TABLE</text> 	 
			<image x="${10}" y="${menu_gorgeoustable.y+12}"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			
			-->
			// *******************************

			<view id="gorgeous_cabinet_v2" y="80" x="10" visible="false">
			<text  x="0" id="text_cursor_v2_g" fgcolor="white" font="EstiloText" fontsize="9" visible="false"> - </text>
						<text x="20" y="0" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v2_g.setAttribute('visible',true)};{text_cursor_v2_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v2_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gallery_gorgeouscabinet.setAttribute('visible',true)};{menu_galeria_gorgeouscabinet.setAttribute('visible',true)};" > GALLERY</text> 	 
						
			<text x="20" y="20" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v2_g.setAttribute('visible',true)};{text_cursor_v2_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v2_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gorgeouscabinet_text.setAttribute('visible',true)};" > DESCRIPTION</text> 	 
			
			
			<text x="20" y="40" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v2_g.setAttribute('visible',true)};{text_cursor_v2_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v2_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{informationrequest_gorgeous.setAttribute('visible',true)};" > MORE INFORMATION</text> 	 
			<image x="0" y="60"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			</view>
		
  			// *******************************
			<view id="gorgeous_lamp_v2" y="112" x="10" visible="false">
			<text  x="0" id="text_cursor_v3_g" fgcolor="white" font="EstiloText" fontsize="9" visible="false"> - </text>
						<text x="20" y="0" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v3_g.setAttribute('visible',true)};{text_cursor_v3_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v3_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gallery_gorgeouslamp.setAttribute('visible',true)};{menu_galeria_gorgeouslamp.setAttribute('visible',true)};" > GALLERY</text> 	 
						
			<text x="20" y="20" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v3_g.setAttribute('visible',true)};{text_cursor_v3_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v3_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gorgeouslamp_text.setAttribute('visible',true)}" > DESCRIPTION</text> 	 
			
			
			<text x="20" y="40" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v3_g.setAttribute('visible',true)};{text_cursor_v3_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v3_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{informationrequest_gorgeous.setAttribute('visible',true)};" > MORE INFORMATION</text> 	 
			<image x="0" y="60"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
			</view>
		
		// *******************************
		<view id="gorgeous_sideboard_v2" y="144" x="10" visible="false">
			<text  x="0" id="text_cursor_v4_g" fgcolor="white" font="EstiloText" fontsize="9" visible="false"> - </text>
						<text x="20" y="0" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v4_g.setAttribute('visible',true)};{text_cursor_v4_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v4_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gallery_gorgeoussideboard.setAttribute('visible',true)};{menu_galeria_gorgeoussideboard.setAttribute('visible',true)}" > GALLERY</text> 	 
						
			<text x="20" y="20" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v4_g.setAttribute('visible',true)};{text_cursor_v4_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v4_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gorgeoussideboard_text.setAttribute('visible',true)};" > DESCRIPTION</text> 	 
			
			
			<text x="20" y="40" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v4_g.setAttribute('visible',true)};{text_cursor_v4_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v4_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{informationrequest_gorgeous.setAttribute('visible',true)};" > MORE INFORMATION</text> 	 
			<image x="0" y="60"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
		</view>
			// *******************************
			
			<view id="gorgeous_table_v2" y="144" x="10" visible="false">
			<text  x="0" id="text_cursor_v5_g" fgcolor="white" font="EstiloText" fontsize="9" visible="false"> - </text>
						<text x="20" y="0" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v5_g.setAttribute('visible',true)};{text_cursor_v5_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v5_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gallery_gorgeoustable.setAttribute('visible',true)};{menu_galeria_gorgeoustable.setAttribute('visible',true)}" > GALLERY</text> 	 
						
			<text x="20" y="20" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v5_g.setAttribute('visible',true)};{text_cursor_v5_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v5_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{gorgeoustable_text.setAttribute('visible',true)};" > DESCRIPTION</text> 	 
			
			
			<text x="20" y="40" fgcolor="white" font="EstiloText" fontsize="9" onmouseover="{text_cursor_v5_g.setAttribute('visible',true)};{text_cursor_v5_g.setAttribute('y',this.y)};" onmouseout="{text_cursor_v5_g.setAttribute('visible',false)}" onclick="{w3.viewapagartudo()};{informationrequest_gorgeous.setAttribute('visible',true)};" > MORE INFORMATION</text> 	 
			<image x="0" y="60"  height="8" width="180" resource="resource/linha.jpg" stretches="both" opacity="0.5"/>
		</view>
			// *******************************
			
		<view id="menu_galeria_gorgeouscabinet" x="20" y="${v2_g.height-90}" visible="false">
		<text id="menu_galeria_gorgeouscabinet_number" x="50" y="0" fgcolor="white" font="EstiloText" fontsize="9">01  </text>
		<text x="70" y="0" fgcolor="white" font="EstiloText" fontsize="9"> OF </text>
		<text x="90" y="0" fgcolor="white" font="EstiloText" fontsize="9"> 07 </text>
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.SlidegorgeousCabinet_menos();"> &#60;&#60; PREVIOUS </text>
		<text x="90" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.SlidegorgeousCabinet_mais();">  NEXT &#62;&#62; </text>
		</view>
		

		<view id="menu_galeria_gorgeouslamp" x="20" y="${v2_g.height-90}" visible="false">
		<text id="menu_galeria_gorgeouslamp_number" x="50" y="0" fgcolor="white" font="EstiloText" fontsize="9">01  </text>
		<text x="70" y="0" fgcolor="white" font="EstiloText" fontsize="9"> OF </text>
		<text x="90" y="0" fgcolor="white" font="EstiloText" fontsize="9"> 05 </text>
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.SlidegorgeousLamp_menos();"> &#60;&#60; PREVIOUS </text>
		<text x="90" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.SlidegorgeousLamp_mais();">  NEXT &#62;&#62; </text>
		</view>
		
		
		<view id="menu_galeria_gorgeoussideboard" x="20" y="${v2_g.height-90}" visible="false">
		<text id="menu_galeria_gorgeoussideboard_number" x="50" y="0" fgcolor="white" font="EstiloText" fontsize="9">01  </text>
		<text x="70" y="0" fgcolor="white" font="EstiloText" fontsize="9"> OF </text>
		<text x="90" y="0" fgcolor="white" font="EstiloText" fontsize="9"> 03 </text>
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.Slidegorgeoussideboard_menos();"> &#60;&#60; PREVIOUS </text>
		<text x="90" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.Slidegorgeoussideboard_mais();">  NEXT &#62;&#62; </text>
		</view>
		
		<view id="menu_galeria_gorgeoustable" x="20" y="${v2_g.height-90}" visible="false">
		<text id="menu_galeria_gorgeoustable_number" x="50" y="0" fgcolor="white" font="EstiloText" fontsize="9">01  </text>
		<text x="70" y="0" fgcolor="white" font="EstiloText" fontsize="9"> OF </text>
		<text x="90" y="0" fgcolor="white" font="EstiloText" fontsize="9"> 04 </text>
		<text x="0" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.Slidegorgeoustable_menos();"> &#60;&#60; PREVIOUS </text>
		<text x="90" y="20" fgcolor="white" font="EstiloText" fontsize="10" onclick="w3.Slidegorgeoustable_mais();">  NEXT &#62;&#62; </text>
		</view>
		
		//   ***************  SOCIAL AREA ******************
		<view  x="20" y="${v2_g.height-80}" visible="true">
			<image x="0" y="30"  height="16" width="16" resource="resource/social_facebook.png" stretches="both" onclick="{w3.social_share('facebook','Tusse - Gorgeous Collection')};" />
			<image x="18" y="30"  height="16" width="16" resource="resource/social_twitter.png" stretches="both" onclick="{w3.social_share('twitter','Tusse - Gorgeous Collection')};"/>
			<image x="36" y="30"  height="16" width="16" resource="resource/social_tumblr.png" stretches="both"/>
			<image x="54" y="30"  height="16" width="16" resource="resource/social_pinterest.png" stretches="both"/>
		</view>

		
		</view>


// ***************************************  METHODS *********************
<method name="viewapagartudo" >  
	video_gorgeous.setAttribute('src','');
	video_gorgeous.setAttribute('visible',false);
	view_video_gorgeous.setAttribute('visible',false);
	
	gorgeouscabinet_text.setAttribute('visible',false);
	gorgeoustable_text.setAttribute('visible',false);
	gorgeouslamp_text.setAttribute('visible',false);
	gorgeoussideboard_text.setAttribute('visible',false);
	
	informationrequest_gorgeous.setAttribute('visible',false);
	
	gallery_gorgeouscabinet.setAttribute('visible',false);
	gallery_gorgeouslamp.setAttribute('visible',false);
	gallery_gorgeoustable.setAttribute('visible',false);
	gallery_gorgeoussideboard.setAttribute('visible',false);
	
	menu_galeria_gorgeouscabinet.setAttribute('visible',false);
	menu_galeria_gorgeoustable.setAttribute('visible',false);
	menu_galeria_gorgeouslamp.setAttribute('visible',false);
	menu_galeria_gorgeoussideboard.setAttribute('visible',false);

</method>


<method name="menu_gorgeous_cabinet" >
        //Prepare a string
	gallery_gorgeouscabinet.setAttribute('visible',true);
	video_gorgeous.setAttribute('src','');
	video_gorgeous.setAttribute('visible',false);
	view_video_gorgeous.setAttribute('visible',false);
	gorgeouscabinet_text.setAttribute('visible',false);
	menu_gorgeouslamp.setAttribute('y',80+70);
	//menu_gorgeoustable.setAttribute('y',112+70);
	menu_gorgeoussideboard.setAttribute('y',112+70);
	gorgeous_cabinet_v2.setAttribute('visible',true);
	gorgeous_lamp_v2.setAttribute('visible',false);
	gorgeous_table_v2.setAttribute('visible',false);
	gorgeous_sideboard_v2.setAttribute('visible',false);	
	
	posicao_menu=1;	
	canvas.Estatistica('Gorgeous Menu MSIE8');
</method>

<method name="menu_gorgeous_lamp" >
        //Prepare a string
	gallery_gorgeouscabinet.setAttribute('visible',true);
	video_gorgeous.setAttribute('src','');
	video_gorgeous.setAttribute('visible',false);
	view_video_gorgeous.setAttribute('visible',false);
	gorgeouscabinet_text.setAttribute('visible',false);
	menu_gorgeouslamp.setAttribute('y',80);
	//menu_gorgeoustable.setAttribute('y',112+70);
	menu_gorgeoussideboard.setAttribute('y',112+70);
	gorgeous_cabinet_v2.setAttribute('visible',false);
	gorgeous_lamp_v2.setAttribute('visible',true);
	gorgeous_table_v2.setAttribute('visible',false);	
	gorgeous_sideboard_v2.setAttribute('visible',false);
	
	posicao_menu=2;
	canvas.Estatistica('Gorgeous Lamp Menu MSIE8');	
</method>

<method name="menu_gorgeous_table" >
        //Prepare a string
	gallery_gorgeouscabinet.setAttribute('visible',true);
	video_gorgeous.setAttribute('src','');
	video_gorgeous.setAttribute('visible',false);
	view_video_gorgeous.setAttribute('visible',false);
	gorgeouscabinet_text.setAttribute('visible',false);
	menu_gorgeouslamp.setAttribute('y',80);
	//menu_gorgeoustable.setAttribute('y',112);
	menu_gorgeoussideboard.setAttribute('y',112);
	gorgeous_cabinet_v2.setAttribute('visible',false);
	gorgeous_lamp_v2.setAttribute('visible',false);
	gorgeous_table_v2.setAttribute('visible',true);	
	gorgeous_sideboard_v2.setAttribute('visible',false);
	
	posicao_menu=4;	
	canvas.Estatistica('Gorgeous Table Menu MSIE8');
</method>

<method name="menu_gorgeous_sideboard" >
        //Prepare a string
	gallery_gorgeouscabinet.setAttribute('visible',true);
	video_gorgeous.setAttribute('src','');
	video_gorgeous.setAttribute('visible',false);
	view_video_gorgeous.setAttribute('visible',false);
	gorgeouscabinet_text.setAttribute('visible',false);
	menu_gorgeouslamp.setAttribute('y',80);
	//menu_gorgeoustable.setAttribute('y',112);
	menu_gorgeoussideboard.setAttribute('y',112);
	gorgeous_cabinet_v2.setAttribute('visible',false);
	gorgeous_lamp_v2.setAttribute('visible',false);
	gorgeous_table_v2.setAttribute('visible',false);	
	gorgeous_sideboard_v2.setAttribute('visible',true);	
	
	posicao_menu=3;	
	canvas.Estatistica('Gorgeous Sideboard Menu MSIE8');
</method>

<method name="SlidegorgeousCabinet_mais">
<![CDATA[
		parent.parent.img_gorgeouscabinet++;
           if (parent.parent.img_gorgeouscabinet > 7) parent.parent.img_gorgeouscabinet=1;
        var img=parent.parent.pasta_das_imagens+"gorgeous0"+parent.parent.img_gorgeouscabinet+".jpg";
		Debug.write(img);
		img_gallery_gorgeouscabinet.setAttribute('resource', img); 
		menu_galeria_gorgeouscabinet_number.setAttribute('text',"0"+parent.parent.img_gorgeouscabinet);
		]]>
 </method>
<method name="SlidegorgeousCabinet_menos">
<![CDATA[
		parent.parent.img_gorgeouscabinet--;
           if (parent.parent.img_gorgeouscabinet < 1) parent.parent.img_gorgeouscabinet=7;
        var img=parent.parent.pasta_das_imagens+"gorgeous0"+parent.parent.img_gorgeouscabinet+".jpg";
		Debug.write(img);
		img_gallery_gorgeouscabinet.setAttribute('resource', img); 
		menu_galeria_gorgeouscabinet_number.setAttribute('text',"0"+parent.parent.img_gorgeouscabinet);
		]]>
 </method>


<method name="Slidegorgeoustable_mais">
<![CDATA[
		parent.parent.img_gorgeoustable++;
           if (parent.parent.img_gorgeoustable > 4) parent.parent.img_gorgeoustable=1;
        var img=parent.parent.pasta_das_imagens+"gorgeousscreen0"+parent.parent.img_gorgeoustable+".jpg";
		Debug.write(img);
		img_gallery_gorgeoustable.setAttribute('resource', img); 
		menu_galeria_gorgeoustable_number.setAttribute('text',"0"+parent.parent.img_gorgeoustable);
		]]>
 </method>
<method name="Slidegorgeoustable_menos">
<![CDATA[
		parent.parent.img_gorgeoustable--;
           if (parent.parent.img_gorgeoustable < 1) parent.parent.img_gorgeoustable=4;
        var img=parent.parent.pasta_das_imagens+"gorgeousscreen0"+parent.parent.img_gorgeoustable+".jpg";
		Debug.write(img);
		img_gallery_gorgeoustable.setAttribute('resource', img); 
		menu_galeria_gorgeoustable_number.setAttribute('text',"0"+parent.parent.img_gorgeoustable);
		]]>
 </method>


<method name="SlidegorgeousLamp_mais">
<![CDATA[
		parent.parent.img_gorgeouslamp++;
           if (parent.parent.img_gorgeouslamp > 5) parent.parent.img_gorgeouslamp=1;
        var img=parent.parent.pasta_das_imagens+"gorgeouslamp0"+parent.parent.img_gorgeouslamp+".jpg";
		Debug.write(img);
		img_gallery_gorgeouslamp.setAttribute('resource', img); 
		menu_galeria_gorgeouslamp_number.setAttribute('text',"0"+parent.parent.img_gorgeouslamp);
		]]>
 </method>
<method name="SlidegorgeousLamp_menos">
<![CDATA[
		parent.parent.img_gorgeouslamp--;
           if (parent.parent.img_gorgeouslamp < 1) parent.parent.img_gorgeouslamp=5;
        var img=parent.parent.pasta_das_imagens+"gorgeouslamp0"+parent.parent.img_gorgeouslamp+".jpg";
		Debug.write(img);
		img_gallery_gorgeouslamp.setAttribute('resource', img); 
		menu_galeria_gorgeouslamp_number.setAttribute('text',"0"+parent.parent.img_gorgeouslamp);
		]]>
 </method>
 
 
 <method name="Slidegorgeoussideboard_mais">
<![CDATA[
		parent.parent.img_gorgeoussideboard++;
           if (parent.parent.img_gorgeoussideboard > 3) parent.parent.img_gorgeoussideboard=1;
        var img=parent.parent.pasta_das_imagens+"gorgeoussideboard0"+parent.parent.img_gorgeoussideboard+".jpg";
		Debug.write(img);
		img_gallery_gorgeoussideboard.setAttribute('resource', img); 
		menu_galeria_gorgeoussideboard_number.setAttribute('text',"0"+parent.parent.img_gorgeoussideboard);
		]]>
 </method>
<method name="Slidegorgeoussideboard_menos">
<![CDATA[
		parent.parent.img_gorgeoussideboard--;
           if (parent.parent.img_gorgeoussideboard < 1) parent.parent.img_gorgeoussideboard=3;
        var img=parent.parent.pasta_das_imagens+"gorgeoussideboard0"+parent.parent.img_gorgeoussideboard+".jpg";
		Debug.write(img);
		img_gallery_gorgeoussideboard.setAttribute('resource', img); 
		menu_galeria_gorgeoussideboard_number.setAttribute('text',"0"+parent.parent.img_gorgeoussideboard);
		]]>
 </method>

<method name="SendEmail" args="name,email,city,country,mobile,comment,job,company,subject">
<![CDATA[
		
        var d=parent.parent.datasets.dsSendData;
		Debug.write("send data!");
		var p=new LzParam();
		p.addValue("name", name, true);
		p.addValue("email", email, true);
		p.addValue("city", city, true);
		p.addValue("country", country, true);
		p.addValue("mobile", mobile, true);
		p.addValue("comment", comment, true);
		p.addValue("job", job, true);
		p.addValue("company", company, true);
		p.addValue("subject", subject, true);
		d.setQueryString(p);
		d.doRequest();
		Debug.write("send ok data!");
		]]>
		
		name_g.setAttribute('text','');
		email_g.setAttribute('text','');
		country_g.setAttribute('text','');
		phone_g.setAttribute('text','');
		message_g.setAttribute('text','');
		jobtitle_g.setAttribute('text','');
		company_g.setAttribute('text','');
		
		canvas.Estatistica('Gorgeous Send Email MSIE8');
 </method>

<method name="facebook" args="title,endereco,texto,imagem">
<![CDATA[
		var url="http://www.facebook.com/sharer.php?s=100&p[title]="+title+"&p[summary]="+texto+"&p[url]="+endereco+"&p[images][0]="+imagem+" ";
		//var url="http://www.facebook.com/sharer.php?s=100&amp;p[title]="+title+"&amp;p[summary]="+title+"&amp;p[url]="+endereco+"&amp;&amp;p[images][0]="+imagem+"";
		var img= "javascript:var a = window.open('"+url+"', '','height=325,width=548')";
		Debug.write(img);
		lz.Browser. loadURL(img);
		]]>
 </method>

<method name="twitter" args="endereco,texto">
<![CDATA[
		var url="http://twitter.com/intent/tweet?url="+endereco+"&text="+texto+"&via=TusseArtDesign&related=Tusse Luxury Furniture";
		var img= "javascript:var a = window.open('"+url+"', '','height=325,width=548')";
		Debug.write(img);
		lz.Browser. loadURL(img);
		]]>
 </method>

<method name="detectarproduto">

if (posicao_menu==0)
{
	 produto_url="http://www.tusse.pt/tusse/index.html?urllink=gorgeous" ;
	 produto_texto="Gorgeous is the piece that shows the essence and Tusse. The transparency of color applied over the gold and silver leaf gives it three-dimensionality, depth and an deep romantic character which captures atention and make you fall in love with it." ;
	 produto_imagem="http://www.tusse.pt/tusse/lib/produtos/gorgeous01.jpg" ;
	 
}
if (posicao_menu==1)
{
	 produto_url="http://www.tusse.pt/tusse/index.html?urllink=gorgeous" ;
	 produto_texto="Gorgeous is the piece that shows the essence and Tusse. The transparency of color applied over the gold and silver leaf gives it three-dimensionality, depth and an deep romantic character which captures atention and make you fall in love with it." ;
	 produto_imagem="http://www.tusse.pt/tusse/lib/produtos/gorgeous01.jpg" ;
	 
}
if (posicao_menu==2)
{
	 produto_url="http://www.tusse.pt/tusse/index.html?urllink=gorgeous" ;
	 produto_texto="Gorgeous lamp is a unique lamp that personifies elegance and beauty in a classic piece sculpted in a modern twist." ;
	 produto_imagem="http://www.tusse.pt/tusse/lib/produtos/gorgeouslamp01.jpg" ;
	 
}
if (posicao_menu==3)
{
	 produto_url="http://www.tusse.pt/tusse/index.html?urllink=gorgeous" ;
	 produto_texto="After the huge success of Gorgeous Bar,  Tusse presents Gorgeous Sideboard. Gorgeous Sideboard is a sumptuous piece, elegant, with fine materials and shiny.  This is a piece of rare beauty that emphasizes all the style of Gorgeous Collection." ;
	 produto_imagem="http://www.tusse.pt/tusse/lib/produtos/gorgeoussideboard01.jpg" ;
	 
}
//Debug.write(posicao_menu);
</method>

<method name="social_share" args="rede,title">
<![CDATA[
		var url="";
		//Debug.write(posicao_menu);
		detectarproduto();
		if (rede=='facebook')
		{
			 url="http://www.facebook.com/sharer.php?s=100&p[title]="+title+"&p[summary]="+produto_texto+"&p[url]="+produto_url+"&p[images][0]="+produto_imagem+" ";
		}
		if (rede=='twitter')
		{
			 url="http://twitter.com/intent/tweet?url="+produto_url+"&text="+produto_texto+"&via=TusseArtDesign&related=Tusse Luxury Furniture";
		}
		
		var img= "javascript:var a = window.open('"+url+"', '','height=325,width=548')";
		Debug.write(img);
		lz.Browser. loadURL(img);
		var est="Gorgeous "+rede+" MSIE8";
		canvas.Estatistica(est);
		]]>
		
 </method>

 </bswindow>
  


  </class>
</library>