﻿function SendEmail(email, subject,  body)
{          
    var mailto_link = 'mailto:'+email+'?subject='+subject+'&body='+body; 
    win = window.open(mailto_link,'emailWindow'); 
    if (win && win.open &&!win.closed) win.close();     
} 
function SupportEmail()
{
    var email = "support@techop.co.uk"; 
    var subject = "Tech OP Ltd"; 
    var body = "%0D%0D%0D%0DThank you for your interest in Tech OP Ltd we will contact you shortly.  Please tell us in the space above, any specific contact details.";
    SendEmail(email, subject, body);
}
function SalesEmail()
{
    var email = "sales@techop.co.uk"; 
    var subject = "Tech OP Ltd"; 
    var body = "%0D%0D%0D%0DThank you for your interest in Tech OP Ltd we will contact you shortly.  Please tell us in the space above, any specific contact details.";           
    SendEmail(email, subject, body);
}
function ProductEmail(subjectText, bodyText) {
    var email = "sales@techop.co.uk";
    var subject = "Tech OP Ltd - " + subjectText;
    var body = "Thank you for your interest in " + bodyText + "%0DPlease would you send us your name and phone number." + "%0DWe will contact you by return to exactly determine your requirements for this fantastic product." + "%0D%0DMany thanks" + "%0DTech OP Ltd";
    SendEmail(email, subject, body);
}

function ProductEmail30Days(subjectText, bodyText) {
    var email = "sales@techop.co.uk";
    var subject = "Tech OP Ltd - " + subjectText;
    var body = "Thank you for your interest in " + bodyText + "%0DPlease would you send us your name and phone number." + "%0DWe will contact you by return to arrange a free 30 day trial of this fantastic product without delay." + "%0D%0DMany thanks" + "%0DTech OP Ltd";        
    SendEmail(email, subject, body);
}