<?php
/*
Template Name: Online Store
*/
?>
<?php get_header(); ?>
	<div id="contentwide">
			<center><h1><?php the_title(); ?></h1></center><br />
<?php if(genesis_get_option('amazon_show_store', 'millionaire')) { ?>
<center><iframe src="<?php echo (genesis_get_option('amazon_store_link', 'millionaire')); ?>" width="92%" height="1000" frameborder="0" scrolling="yes"></iframe></center>
<?php } else { ?>
<center>
<script type='text/javascript'> 
var amzn_wdgt={widget:'Search'}; 
amzn_wdgt.tag='<?php echo(genesis_get_option('amazon_id', 'millionaire')); ?>'; 
amzn_wdgt.columns='3'; 
amzn_wdgt.rows='6'; 
amzn_wdgt.defaultSearchTerm='<?php echo(genesis_get_option('amazon_keyword', 'millionaire')); ?>'; 
amzn_wdgt.searchIndex='Amazon'; 
amzn_wdgt.width='800'; 
amzn_wdgt.showImage='True'; 
amzn_wdgt.showPrice='True'; 
amzn_wdgt.showRating='True'; 
amzn_wdgt.design='2'; 
amzn_wdgt.colorTheme='Default'; 
amzn_wdgt.headerTextColor='#0000OO'; 
amzn_wdgt.linkedTextColor='#0000AA'; 
amzn_wdgt.bodyTextColor='#000000'; 
amzn_wdgt.borderColor='#8c9ca7'; 
amzn_wdgt.outerBackgroundColor='#FFFFFF'; 
amzn_wdgt.marketPlace='<?php echo(genesis_get_option('amazon_country', 'millionaire')); ?>'; 
</script> 
<script type='text/javascript' src='http://wms.assoc-amazon.com/20070822/US/js/AmazonWidgets.js'> 
</script> 
</center>
<?php } ?> 
<p>&nbsp;</p>
<center>
<table width='700' border='0'>
  <tr>
    <td><script type='text/javascript'><!--
cbengine_user ='<?php echo(genesis_get_option('cbengine_id', 'millionaire')); ?>';
cbengine_cbid ='<?php echo(genesis_get_option('clickbank_id', 'millionaire')); ?>';
cbengine_ad_output = 'html';
cbengine_rotate = 'yes';
cbengine_kw ='<?php echo(genesis_get_option('clickbank_keyword', 'millionaire')); ?>';
cbengine_ad_target = '_blank';
cbengine_ad_format = '336x280';
cbengine_ad_width = '336';
cbengine_ad_height = '280';
cbengine_color_border = 'FFFFFF';
cbengine_color_bg = 'FFFFFF';
cbengine_color_link = '1079C9';
cbengine_color_url = '206BA2';
cbengine_color_text = '000000';
cbengine_alternate_ad_url = 'http://premadethemes.com/cbpro';
//-->
</script>
<script type='text/javascript' src='http://www.cbengine.com/ads/show_ads.js'></script>
</td>
    <td><script type='text/javascript'><!--
cbengine_user ='<?php echo(genesis_get_option('cbengine_id', 'millionaire')); ?>';
cbengine_cbid ='<?php echo(genesis_get_option('clickbank_id', 'millionaire')); ?>';
cbengine_ad_output = 'html';
cbengine_rotate = 'yes';
cbengine_kw ='<?php echo(genesis_get_option('clickbank_keyword', 'millionaire')); ?>';
cbengine_ad_target = '_blank';
cbengine_ad_format = '336x280';
cbengine_ad_width = '336';
cbengine_ad_height = '280';
cbengine_color_border = 'FFFFFF';
cbengine_color_bg = 'FFFFFF';
cbengine_color_link = '1079C9';
cbengine_color_url = '206BA2';
cbengine_color_text = '000000';
cbengine_alternate_ad_url = 'http://premadethemes.com/cbpro';
//-->
</script>
<script type='text/javascript' src='http://www.cbengine.com/ads/show_ads.js'></script>
</td>
  </tr>
</table>
</center>
	</div>
<?php get_footer(); ?>