// JavaScript Document

function drawSpeechBubble (bubbleQuote, bubbleSource, bubbleLink) {
	document.write('<br><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>');
	document.write('<td width="1"><img src="../images/speechBubble_tl.gif"></td>');
	document.write('<td width="1" background="../images/speechBubble_t.gif"></td>');
	document.write('<td background="../images/speechBubble_t.gif"></td>');
	document.write('<td width="1"><img src="../images/speechBubble_tr.gif"></td>');
	document.write('</tr><tr><td width="1" background="../images/speechBubble_l.gif"></td>');
	document.write('<td colspan="2" valign="middle" align="left" bgcolor="#fafafa">');
	document.write(bubbleQuote);
	document.write('</td><td width="1" background="../images/speechBubble_r.gif"></td>');
	document.write('</tr><tr><td width="1" valign="top" align="left" rowspan="2">');
	document.write('<img src="../images/speechBubble_bl.gif"></td><td width="1" valign="top" align="left" rowspan="2">');
	document.write('<img src="../images/speechBubble_tip.gif"></td><td background="../images/speechBubble_b.gif"></td>');
	document.write('<td><img src="../images/speechBubble_br.gif"></td></tr><tr>');
	document.write('<td valign="middle" align="left">');
				   
	if (bubbleLink != "null") {		   
		
	document.write('<A href="');
	document.write(bubbleLink);
	document.write('" target="_blank">');
	document.write(bubbleSource);
	document.write('</A>');

	} else {

	document.write(bubbleSource);

	}
				   
	document.write('</td><td></td></tr></table>');

}

function drawFooter (footerText) {
	
	document.write('<HR size="1" color="cccccc" noshade="yes"><P>&nbsp;</P>');
	document.write('<DIV align="center"><H1>WE&nbsp;NEVER&nbsp;FAIL <FONT color="FF6600">');
	document.write('&amp;&nbsp;NEITHER&nbsp;WILL&nbsp;YOU.</FONT></H1><p>');
	
	if (footerText != undefined) {
		
		document.write(footerText);
		
	} else {

		document.write('For more information on how SQL Power can ');
		document.write('help you use your data to reduce cost, improve productivity and ');
		document.write('make better-informed business decisions, contact us today at ');
		document.write('<A href= "mailto:info@sqlpower.ca">info@sqlpower.ca</A> ');
		document.write('or <B>1&#8209;866&#8209;SQL&#8209;POWR.</B>');
		
	}

	document.write('</p><p>&nbsp;</p></DIV>');
	
}




function drawFooterButtons (topic, action) {
	
	if (topic == undefined) {
		topic = "SQL+Power+Consulting";
	}
	
	if (action == undefined) {
		action = "Get Started";
	}
	
	document.write('<HR size="1" color="cccccc" noshade="yes"><P>&nbsp;</P>');
	document.write('<DIV align="center"><H1>WE&nbsp;NEVER&nbsp;FAIL <FONT color="FF6600">');
	document.write('&amp;&nbsp;NEITHER&nbsp;WILL&nbsp;YOU.</FONT></H1><p>');
	document.write('For more information on how SQL Power can ');
	document.write('help you use your data to reduce cost, improve productivity and ');
	document.write('make better-informed business decisions, contact us today at ');
	document.write('<A href= "mailto:info@sqlpower.ca">info@sqlpower.ca</A> ');
	document.write('or <B>1&#8209;866&#8209;SQL&#8209;POWR.</B></p>');
	
	document.write('<table cellpadding="10" cellspacing="0" border="0"><tr><td class="bottomLinks"><A href="info?topic=');
	
	document.write(topic);
	
	document.write('"><IMG src="../images/bb/button-start-off.gif" border="0" id="footerstart" onmouseover="MM_swapImage(');
	document.write('\'footerstart\',\'\',\'../images/bb/button-start-on.gif\',1)" onmouseout="MM_swapImgRestore()" ');
	document.write('alt="Get Started"><br>');
	
	document.write(action);
	
	document.write('</A></td><td class="bottomLinks"><A href=');
	document.write('"mailto:info@sqlpower.ca"><IMG src="../images/bb/button-email-off.gif" border="0" id="footeremail" ');
	document.write('onmouseover="MM_swapImage(\'footeremail\',\'\',\'../images/bb/button-email-on.gif\',1)" ');
	document.write('onmouseout="MM_swapImgRestore()" alt="Email Us"><br>Email Us</A></td></tr></table>');

	document.write('</DIV>');
	
}






function drawMethodologyFooter () {
	
	document.write('<HR size="1" color="cccccc" noshade="yes"><P>&nbsp;</P>');
	document.write('<DIV align="center"><H1>WE NEVER FAIL <FONT color="FF6600">&amp; ');
	document.write('NEITHER WILL YOU.</FONT></H1>');
	document.write('<p>For more information on SQL Power Data Warehouse Methodology, ');
	document.write('contact us today at <A href="mailto:info@sqlpower.ca?subject=Methodology">info@sqlpower.ca</A> '); 
	document.write('or<B>1&#8209;866&#8209;SQL&#8209;POWR.</B></p>');
	document.write('<table cellpadding="10" cellspacing="0" border="0"><tr><td class="bottomLinks">');
	document.write('<A href="info?topic=Data+Warehouse+Methodology"><IMG src="../images/bb/button-start-off.gif" ');
	document.write('border="0" id="start" onmouseover="MM_swapImage(\'start\',\'\',\'../images/bb/button-start-on.gif\',1)" '); 
	document.write('onmouseout="MM_swapImgRestore()" alt="Get Started"><br>Get Started</A></td>');
	document.write('<td class="bottomLinks"><A href="mailto:info@sqlpower.ca?subject=Data Warehouse Methodology">');
	document.write('<IMG src="../images/bb/button-email-off.gif" border="0" id="email" ');
	document.write('onmouseover="MM_swapImage(\'email\',\'\',\'../images/bb/button-email-on.gif\',1)" '); 
	document.write('onmouseout="MM_swapImgRestore()" alt="Email Us"><br>Email Us</A></td></tr></table></DIV>');
	
}

function drawMethodologyMenu () {

	document.write('Browse by section:<br><A href="method_summary">0. Summary</A><br>');
	document.write('<A href="method_vision">1. BI Vision</A><br><a href="method_scope">2. Scope</a><br>');
	document.write('<a href="method_architect">3. Architect</a><br><a href="method_build">4. Build</a><br>');
	document.write('<a href="method_test">5. Test</a><br><a href="method_deploy">6. Deploy</a><br>');
	document.write('<a href="method_support">7. Support</a><br><a href="method_pm">8. Project Mgmt</a><br><br>');
	document.write('<p><A href="info?topic=DW+Methodology"><IMG src="../images/bb/button-start-off.gif" border="0" ');
	document.write('id="pad" onmouseover="MM_swapImage(\'pad\',\'\',\'../images/bb/button-start-on.gif\',1)" '); 
	document.write('onmouseout="MM_swapImgRestore()" alt="Learn More"><br>Learn More</A></p>');
	document.write('<p><A href="../documents/methodology_summary.pdf"><IMG src="../images/bb/button-doc-off.gif" ');
	document.write('border="0" id="pad2" onmouseover="MM_swapImage(\'pad2\',\'\',\'../images/bb/button-doc-on.gif\',1)" '); 
	document.write('onmouseout="MM_swapImgRestore()" alt="Methodology Summary PDF"><br>');
	document.write('Methodology Summary [PDF]</A></p><P>&nbsp;</P>');
	document.write('<P><i>This is only an Introduction to SQL Power Data Warehouse Methodology. ');
	document.write('The full version is available to all SQL Power clients.</i></P></div><P>&nbsp;</P>');

}









