/* 
Simple Javascript Email Encrypter ©2006-2009 3rd St. Web
Script adaptation by Jeff Yochim http://3rdstweb.com
Feel free to use this script, but please leave this comment block in. Thanks!
*/

goingTo=('mailto:')//This should always stay the same.

/* List the contacts*/
contact1=('susan')//Replace the contact with your own.
contact2=('sales')//Replace the contact with your own.
contact3=('sales')//Replace the contact with your own.
contact4=('sales')//Replace the contact with your own.
contact5=('sales')//Replace the contact with your own.
contact6=('sales')//Replace the contact with your own.
contact7=('sales')//Replace the contact with your own.
contact8=('sales')//Replace the contact with your own.
contact9=('sales')//Replace the contact with your own.
contact10=('sales')//Replace the contact with your own.



//Here are the addresses:
address1=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject1=('?subject=Website Contact')// You can change or omit this.
here1=(goingTo+contact1+address1+subject1)//Add it all up.

address2=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject2=('?subject=Website Contact')// You can change or omit this.
here2=(goingTo+contact2+address2+subject2)//Add it all up.

address3=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject3=('?subject=Website Contact')// You can change or omit this.
here3=(goingTo+contact3+address3+subject3)//Add it all up.

address4=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject4=('?subject=Website Contact')// You can change or omit this.
here4=(goingTo+contact4+address4+subject4)//Add it all up.

address5=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject5=('?subject=Website Contact')// You can change or omit this.
here5=(goingTo+contact5+address5+subject5)//Add it all up.

address6=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject6=('?subject=Website Contact')// You can change or omit this.
here6=(goingTo+contact6+address6+subject6)//Add it all up.

address7=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject7=('?subject=Website Contact')// You can change or omit this.
here7=(goingTo+contact7+address7+subject7)//Add it all up.

address8=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject8=('?subject=Website Contact')// You can change or omit this.
here8=(goingTo+contact8+address8+subject8)//Add it all up.

address9=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject9=('?subject=Website Contact')// You can change or omit this.
here9=(goingTo+contact9+address9+subject9)//Add it all up.

address10=('@' + 'lamb' + 'chops' + '.com')//Replace the address pieces with your own.
subject10=('?subject=Website Contact')// You can change or omit this.
here10=(goingTo+contact10+address10+subject10)//Add it all up.






/*
Save this script as [3rdStWeb.js] in your website's root.
Then put this script in the web page's head (src="[relative or absolute path to file]"):
<script type="text/javascript" src="3rdStWeb.js"></script>

Change the link text as needed and put this in your web page content:
Email: <a href="#" onclick="parent.location=here1; return false" >Web Design</a>

If you want a link to a second email address:
Email: <a href="#" onclick="parent.location=here2">Web Hosting</a>

You can add as many encrypted addresses as you like!
*/

/*
Popup script
*/

// general popup script 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// external link popup script 
winName2=('')
features2=('width=800,height=450,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes')
function MM_openBrWindow2(theURL) { //v2.0
  window.open(theURL,winName2,features2);
}

// video link popup script 
winName3=('')
features3=('width=280,height=280')
function MM_openBrWindow3(theURL) { //v2.0
  window.open(theURL,winName3,features3);
}

// video link popup script 
winName5=('')
features5=('width=520,height=520')
function MM_openBrWindow5(theURL) { //v2.0
  window.open(theURL,winName5,features5);
}

// audio link popup script 
winName4=('audio')
features4=('width=280,height=190')
function MM_openBrWindow4(theURL) { 
 var winName4= window.open(theURL,winName4,features4); 
}
// video link popup script 
winName6=('video')
features6=('width=575,height=535,scrollbars=yes')
function MM_openBrWindow6(theURL) { 
var winName6=window.open(theURL,winName6,features6);

}
// video link popup script 
winName7=('video')
features7=('width=700,height=535,scrollbars=yes')
function MM_openBrWindow7(theURL) { 
var winName7=window.open(theURL,winName7,features7);

}

// video link popup script 
winName8=('video')
features8=('width=800,height=625,scrollbars=yes')
function MM_openBrWindow8(theURL) { 
var winName8=window.open(theURL,winName8,features8);

}

/*use like this:

<a href="[URL]" target="_blank" onClick="MM_openBrWindow2('[URL]');return false;">


*/