// **** CONFIGURATION **** //
// **** CONFIGURATION **** //
// **** CONFIGURATION **** //

var gDebug = {};
gDebug.tools = false; // turn on the debug tools? //
gDebug.colors = {div:"red",p:"black",table:"lime",td:"white",back_color:"#f8b120"};

// init globals //
var gPaths = {};
gPaths.qs = location.search;
gPaths.page = unescape(location.href).split('/').pop().split("?")[0];
gPaths.base = (location.protocol == 'http:')? '' : location.href.split('')[0] + '';
gPaths.css = gPaths.base + 'css/';
gPaths.js = gPaths.base + 'js/';
gPaths.html = gPaths.base + 'html/';
gPaths.media = gPaths.base + 'media/';
gPaths.graphics = gPaths.media + 'images/';
gPaths.flash = gPaths.media + 'flash/';
gPaths.pdf = gPaths.media + 'pdf/';
gPaths.dynamic_updates = gPaths.base + 'dynamic_updates/';


var gBrowser = {};
gBrowser.supported = false;
gBrowser.support_png = true;
gBrowser.browsers = ["Opera","Netscape","Safari","Flock","Firefox"];

var gButtons = {};
gButtons.header = [];
gButtons.header.push({id:"who_button",text:"Who We Are"});
gButtons.header.push({id:"what_button",text:"What We Do"});
gButtons.header.push({id:"how_button",text:"How We Work"});
gButtons.header.push({id:"news_button",text:"News"});
gButtons.header.push({id:"contact_button",text:"Contact Us"});
// WHAT //
gButtons.what = [];
gButtons.what.push({id:"what_button",text:"What We Do"});
gButtons.what.push({id:"tools_button",text:"Our Tools and Technology"});
gButtons.what.push({id:"clients_button",text:"Our Clients"});
gButtons.what.push({id:"capabilities_button",text:"Our Capabilities"});
// WHO //
gButtons.who = [];
gButtons.who.push({id:"who_button",text:"Who We Are"});
gButtons.who.push({id:"whos_button",text:"Who's Who at PMG"});
// NEWS //
gButtons.news = [];
gButtons.news.push({id:"newsletters_button",text:"Featured News"});
gButtons.news.push({id:"news_button",text:"PMG News"});
gButtons.news.push({id:"insight_button",text:"Insights"});
// PMG PEOPLE //
gButtons.people = {};
gButtons.people.benzing = {name:"Lynn Benzing",title:"CEO",title_full:"Chief Executive Officer"};
gButtons.people.decker = {name:"Donna Decker",title:"CIO",title_full:"Chief Implementation Officer"};
gButtons.people.mercer = {name:"Brian Mercer",title:"CCO",title_full:"Chief Creative Officer"};
gButtons.people.budd = {name:"Jackie Budd",title:"SVP",title_full:"Senior Vice President, Group Account Director"};
gButtons.people.west = {name:"Karen West",title:"VPBMS",title_full:"Chief Operating Officer"};
//gButtons.people.viscomi = {name:"A.J. Viscomi",title:"VPAP",title_full:"Vice President, Account Planning"};
//gButtons.people.dorfman = {name:"Jim Zamichieli",title:"CTO",title_full:"Chief Technology Officer"};
//gButtons.people.kreshover = {name:"Steve Kreshover",title:"EVP",title_full:"Executive Vice President"};
gButtons.people.santhanam = {name:"Kartik Santhanam",title:"VPIT",title_full:"VP, Information Technology"};
// CONTACT //
gButtons.contact = [];
gButtons.contact.push({id:"contact_button",text:"Contact"});
gButtons.contact.push({id:"careers_button",text:"Careers"});
// CAREERS //
gButtons.careers = [];
gButtons.careers = [];
// gButtons.careers.push({id:"bs",text:"Behavior Specialist - Pharmaceutical Relationship Marketing"});
// gButtons.careers.push({id:"cdc",text:"Creative Director, Copy - Consumer Healthcare"});
// gButtons.careers.push({id:"dam",text:"Director, Account Management - Pharmaceutical Marketing & Advertising Services"});
// gButtons.careers.push({id:"gad",text:"Group Account Director - Pharmaceutical Relationship Marketing "});
// gButtons.careers.push({id:"rdnc",text:"Registered Dietitian, Nutrition Counselor  Part-time"});
// gButtons.careers.push({id:"sa",text:"Systems Architect - Patient Relationship Marketing"});
// gButtons.careers.push({id:"ppt",text:"Proofreader Part-time - Consumer Healthcare"});
// gButtons.careers.push({id:"pm",text:"Project Manager/Traffic"});
// gButtons.careers.push({id:"vpscs",text:"Vice President, Strategic Consulting Services - Consumer Healthcare Advertising"});
// gButtons.careers.push({id:"as",text:"Account Supervisor"});
// gButtons.careers.push({id:"iad",text:"Senior Interactive Art Director - Consumer Healthcare Advertising"});
// gButtons.careers.push({id:"swd",text:"Senior Web Developer"});
// gButtons.careers.push({id:"rcpt",text:"Receptionist"});
// gButtons.careers.push({id:"cdl",text:"Content Development Leader"});
// gButtons.careers.push({id:"ecd",text:"Executive Creative Director, Web"});
// gButtons.careers.push({id:"itbsa",text:"IT Business/Systems Analyst"});
// gButtons.careers.push({id:"rdnc2",text:"Registered Dietitian, Nutrition Counselor Part-time"});
// gButtons.careers.push({id:"sdpe",text:"Senior Database/Programming Engineer"});
// gButtons.careers.push({id:"sqae",text:"Senior QA Engineer"});
// gButtons.careers.push({id:"secnet",text:"Software Engineer - C#/.NET"});
// gButtons.careers.push({id:"accd",text:"Account Coordinator - Consumer Healthcare Marketing Services"});
// gButtons.careers.push({id:"diracma",text:"Director, Account Management – Consumer Healthcare Marketing"});
// gButtons.careers.push({id:"uead",text:"User Experience Architect/Designer"});
// gButtons.careers.push({id:"projm",text:"Project Manager"});
// gButtons.careers.push({id:"vpit",text:"Vice President, Information Technology – Pharma CRM & Web Development"});
// gButtons.careers.push({id:"cda",text:"Creative Director, Art – Consumer Healthcare Marketing"});
// gButtons.careers.push({id:"doar",text:"Director of Analytics and Reporting"});
// gButtons.careers.push({id:"afsa",text:"Account/Financial Systems Analyst"});
// gButtons.careers.push({id:"acchmas",text:"Account Coordinator - Consumer Healthcare Marketing and Advertising Services"});
//gButtons.careers.push({id:"ashcrm",text:"Account Supervisor - Healthcare Consumer Relationship Marketing"});
//gButtons.careers.push({id:"sarch",text:"Solution Architect"});
//gButtons.careers.push({id:"dwd",text:"Director Web Design - Consumer Healthcare Marketing"});
//gButtons.careers.push({id:"wd",text:"Web Designer - Consumer Healthcare Marketing"});
//gButtons.careers.push({id:"wbdv",text:"Web Developer"});
gButtons.careers.push({id:"dpbd",text:"Director, Pharmaceutical Business Development"});
gButtons.careers.push({id:"sdse",text:"Senior Director, Software Engineering"});
gButtons.careers.push({id:"dto",text:"Director, Technology Operations"});


var gCookie = {};
gCookie.props = {};
gCookie.props.cookie = "PMG";
gCookie.props.path = "/";
gCookie.props.domain = false;
gCookie.props.secure = false;
gCookie.props.constant = false;
gCookie.props.days = 365;


function writeSourceFiles(){
	var w = '<title>Patient Marketing Group</title>\n';
	if(gDebug.tools){
		w += '<link rel="stylesheet" type="text/css" href="' + gPaths.base + 'debug/debug.css">\n';
		w += '<script type="text/javascript" src="' + gPaths.base + 'debug/debug.js"></script>\n';
	}
	
	/*
	w += '<script type="text/javascript" src="' + gPaths.js + 'functions_pmg.js"></script>\n';
	w += '<link rel="stylesheet" type="text/css" href="' + gPaths.css + 'common.css">\n';
	w += '<!--[if IE]><link rel="stylesheet" type="text/css" href="' + gPaths.css + 'ie_only.css"><![endif]-->';
	w += '<script type="text/javascript" src="' + gPaths.js + 'layout.js"></script>\n';
	w += '<script type="text/javascript" src="' + gPaths.js + 'dynamic_updates.js"></script>\n';
	*/
	document.write(w);
}

writeSourceFiles();