
MyWinc= null;


function cald(brand, product){

//var output = arguments[0] + ' ' + arguments[1];
//var outputH = arguments[0] + ' ' + arguments[1];

  if(!MyWinc){MyWinc= window.open("","email","scrollbars=yes,resizable=yes,top=200,left=300,height=380,width=500")
var str='';
str+='<style type="text\/css">';
str+='<!--';
str+='.style1 {';
str+='	font-size: 12px;';
str+='	font-family: Arial, Helvetica, sans-serif;';
str+='}';
str+='-->';
str+='<\/style>';

str+='<form name="form1" method="post" action="php.formmail.php">';
str+='<input name="enq" type="hidden" value="get quote">';
str+='<input name="product" type="hidden" value="';
str+= arguments[0] + ' ' + arguments[1];
str+='">';
str+='<p class="style1"><strong>Get Quote</strong>';
str+='<\/p>';
str+='<p align="justify" class="style1">Please provide your contact details and any information about the application that you have for the <span style="font-style:italic; color:#FF0000">';
str+= arguments[0] + ' ' + arguments[1];
str+='</span>.  If we need more information to ensure that it is suitable for your application, we will contact you directly, otherwise we will provide our quotation and the products availability.<\/p>';
str+='<p><span class="style1">';

str+='<\/span><br>';
str+='<\/p>';
str+='<table  border="0" cellspacing="0" cellpadding="5">';
str+='  <tr>';
str+='    <td align="right" valign="top"> <label for="realname" class="style1">Name<\/label><\/td>';
str+='    <td align="right"><input type="text" name="realname" id="realname" size="35"><\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td align="right" valign="top"><label for="phone" class="style1">Tel No.(s) <\/label><\/td>';
str+='    <td align="right"><input name="phone" type="text" id="phone" size="35"><\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td align="right" valign="top"><label for="email" class="style1">email <\/label><\/td>';
str+='    <td align="right"><input name="email" type="text" id="email" size="35"><\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td align="right" valign="top"><label for="Address1" class="style1">Address<\/label><\/td>';
str+='    <td align="right">';
str+='	<input name="Address1" type="text" id="Address1" size="35">';
str+='	<br>';
str+='	<input name="Address2" type="text" id="Address2" size="35">';

str+='	<input name="Address3" type="text" id="Address3" size="35">';
str+='	<br>';
str+='	<input name="Address4" type="text" id="Address4" size="35">';
str+='	<br>';
str+='	<label for="postcode" class="style1">Post Code<\/label> <input name="postcode" type="text" id="postcode" size="15">';
str+='	<\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td colspan="2" align="right"><label for="Query" class="style1"> Details of product(s) and quantities required<\/label><br>';
str+='	<textarea name="textarea" cols="35" rows="10" id="Query">';
str+= arguments[0] + ' ' + arguments[1];
str+='<\/textarea>';

str+='<input name="enq" type="hidden" value="retail quote">';
str+='<p class="style1"><label for="Submit">Submit<\/label>';
str+='   <input type="submit" name="Submit" value="Submit" id="Submit">';
str+='    <label for="label">Reset<\/label>';
str+='    <input type="reset" name="Submit2" value="Reset" id="label"><\/p>';
str+='<\/td>';
str+='    <\/tr>';
str+='<\/table>';
str+='<\/form>';


          //MyWin.document.write(output);
          MyWinc.document.write(str);
          MyWinc.document.close();
  }
  else{ 
    MyWinc.close();MyWinc=null; 

  } 
}  
 

function Non(){
  if(MyWinc){MyWinc.close();MyWinc=null}
  else{MyWinc=null}

}
