//
// JavaScript Library for Carl Heinrich's Portfolio
//
// LICENSE:
// All rights reservered by the author.  This code is intended for
// use by the Fitness Creator's domain.  This code 
// may not be sold, distributed, or copied in any form
// without express written consent from the author.
// Carl Heinrichs 
// brutal_smurf@yahoo.com
//


//
// This function prints out an email link on the document.
//
function PrintEmailLink(link_string,name,subject,the_class) {

var zone = 'org';
var domain = 'WheelofTime';

//
// This the HTML markup that contains the most of the pages information.  A markup string is
// constructed called the_document.  Then the_document is written to the browser document.
//
var the_document = '';
the_document += '<a href="mailto:' + name + '@' + domain + '.' + zone +'?subject=' + subject + '" class="' + the_class + '">' + link_string +  '</a>';

document.write(the_document);

}

//
// This function prints out an email link on the document to contact the HTML author.
//
function EmailAuthor(subject) {

var name = 'carl'
var zone = 'org';
var domain = 'WheelOfTime';

//
// This the HTML markup that contains the most of the pages information.  A markup string is
// constructed called the_document.  Then the_document is written to the browser document.
//
var the_document = '';
the_document += '<a href="mailto:' + name + '@' + domain + '.' + zone +'?subject=' + subject + '" class=title>Carl Heinrichs Portfolio</a><br><a href="mailto:' + name + '@' + domain + '.' + zone +'?subject=' + subject + '" class=title-caption>Contact me by clicking.</a>';

document.write(the_document);

}

