MyWin= null;


function calB(){
  if(!MyWin){MyWin= window.open("","email","scrollbars=yes,resizable=yes,top=200,left=300,height=380,width=450")
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.email.callback.php">';
str+='<p class="style1">Call Back Request';
str+='<\/p>';
str+='<p align="justify" class="style1">If you have a query, or would like us to call you back with pricing or a quotation, please fill out the form below and we will get back to you as soon as possible.<\/p>';
str+='<table width="100%"  border="0" cellspacing="0" cellpadding="10">';
str+='  <tr>';
str+='    <td> <label for="realname" class="style1">Name<\/label><\/td>';
str+='    <td><input type="text" name="realname" id="realname" size="35"><\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td><label for="phone" class="style1">Tel No.(s) <\/label><\/td>';
str+='    <td><input name="phone" type="text" id="phone" size="35"><\/td>';
str+='  <\/tr>';
str+='  <tr>';
str+='    <td><label for="Query" class="style1">Query<\/label><\/td>';
str+='    <td><textarea name="textarea" cols="35" id="Query"><\/textarea>';
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+='<input name="callback" type="hidden" value="call back filters">';
str+='<input name="email" type="hidden" value="info@adremit.co.uk">';
str+='<p align="justify" class="style1">Note: We will endeavour to reply to your call request as soon as possible, however our reply will be to UK numbers only (landlines and mobiles) and within our normal working hours.<\/p>';
str+='<\/form>';


          MyWin.document.write(str);
          MyWin.document.close();
  }
  else{ 
    MyWin.close();MyWin=null; 

  } 
}


function calC(brand, product){

//var output = arguments[0] + ' ' + arguments[1];
//var outputH = arguments[0] + ' ' + arguments[1];

  if(!MyWin){MyWin= window.open("","email","scrollbars=yes,resizable=yes,top=200,left=300,height=380,width=450")
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="product" type="hidden" value="';
str+= arguments[0] + ' ' + arguments[1];
str+='">';
str+='<p class="style1">Trade Quotation Request<\/p>';
str+='<p align="justify"><span class="style1">Where you require a larger quantity of this product (';
str+= arguments[0] + ' ' + arguments[1];
str+=') then please let us know the details so that we can offer you a discount on the web price.<\/span><br>';
str+='<\/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+='<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);
          MyWin.document.write(str);
          MyWin.document.close();
  }
  else{ 
    MyWin.close();MyWin=null; 

  } 
}  
 

function Non(){
  if(MyWin){MyWin.close();MyWin=null}
  else{MyWin=null}

}
