function get_the_set_up($jp, $the_link, $the_title, $the_id) {
	var $hotlinks = '<span class="hotLinks"><a title="Click here to Print this Page!" onclick="window.print();" class="print" href="#">Print Page</a><a title="Click here to Bookmark this Page or press CTRL + D." class="bookmark" onclick="bookmark(\'' + $the_link + '\', \'' + $the_title + '\');" href="#">Bookmark</a></span>';

        $jp("#container").before('<div class="top-image"></div>');
	$jp("#container").after('<div class="bottom-image"></div>');
	//$jp("body.single-entry .entry-content").before('<ul class="yui-nav" id="tabs"><li class="selected" title="active"><a title="View Profile" href="#tab1">Profile</a></li></ul>');
	$jp("body.single-entry .entry-content").wrapInner('<div class="boxed-content"></div>');
	$jp("body.single-entry .entry-content").prepend('<h3 id="business-overview">Business Overview</h3>');
	$jp("#contactPane").prepend('<h3 id="contact-us">Contact Us!</h3>');
	
	$jp("body.single-entry .entry-content").prepend($hotlinks);
	var $url = "/index.php?vcard=" + $the_id;
	$jp.ajax({
            url: $url,
            async: false,
            cache: false,
            success: function(html){
                $jp("h2.entry-title").after(html);
            }
        });
}

function get_basic_set_up($jp) {

        $jp("#container").before('<div class="top-image"></div>');
	$jp("#container").after('<div class="bottom-image"></div>');
	//$jp("body.single-entry .entry-content").before('<ul class="yui-nav" id="tabs"><li class="selected" title="active"><a title="View Profile" href="#tab1">Profile</a></li></ul>');


}

function landing_set_up($jp) {

        $jp("#top-landing-page-wrap").before('<div class="mini-wrap"><div class="top-image"></div></div>');
	$jp("#top-landing-page-wrap").after('<div class="mini-wrap"><div class="bottom-image"></div>');
	//$jp("body.single-entry .entry-content").before('<ul class="yui-nav" id="tabs"><li class="selected" title="active"><a title="View Profile" href="#tab1">Profile</a></li></ul>');


}

function get_the_first_up($jp, $the_link, $the_title) {
	var $hotlinks = '<span class="hotLinks"><a title="Click here to Print this Page!" onclick="window.print();" class="print" href="#">Print Page</a><a title="Click here to Bookmark this Page or press CTRL + D." class="bookmark" onclick="bookmark(\'' + $the_link + '\', \'' + $the_title + '\');" href="#">Bookmark</a></span>';

        $jp("#container").before('<div class="top-image"></div>');
	$jp("#container").after('<div class="bottom-image"></div>');
	//$jp("body.single-entry .entry-content").before('<ul class="yui-nav" id="tabs"><li class="selected" title="active"><a title="View Profile" href="#tab1">Profile</a></li></ul>');
	$jp("body.single-entry .entry-content").wrapInner('<div class="boxed-content"></div>');
	$jp("body.single-entry .entry-content").prepend('<h3 id="business-overview">Business Overview</h3>');
	$jp("#contactPane").prepend('<h3 id="contact-us">Contact Us!</h3>');
	
	$jp("body.single-entry .entry-content").prepend($hotlinks);

}


function get_the_second_up($jp, $the_id) {
	var $url = "/index.php?vcard=" + $the_id;
	$jp.ajax({
            url: $url,
            async: false,
            cache: false,
            success: function(html){
                $jp("h2.entry-title").after(html);
            }
        });
}

function example_b($jp) {
	var $html = '<div id="top-banner-page"><div id="top-banner-page-wrap"><div id="banner-page-text"><h2>Your banner will go in this light green area.</h2><ul><li>It can be any color or design you want.</li><li>It can be an html banner or an image or a rich media banner such as a video or a combination.</li><li>The size is 920px by 200px.</li><li>The banner can include link through to your site, be a form, or include your phone number.  Any of these combinations.</li><li>Your banner will appear on every page of this website except on premium listing pages.</li><li>Included in your price is a one off design should you require a design.  We design once and there are no revisions.  You can use your own Designer also.</li><li>You can also optionally have the number at the top right corner of each page in the black area changed to your own number. (Excludes premium listing pages)</li></ul></div></div></div></div>';
        $jp("#header").after($html);	
}

function fullpager($jp) {
	var $fullpage_ad = 'http://www.' + 'digitalstickers' + '.com.' + 'au';
	var $html = '<div style="width:100%; height:25px; background:#fff; border-bottom:1px dashed #ccc; padding:5px; text-align:left;">Advertorial</div>';
	var $iframe = '<iframe id="friendframe" src="' + $fullpage_ad + '" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"  width="100%" height="800px"></iframe>';

        $jp(".ad").before($html);
	$jp(".ad").before($iframe);
        $jp(".ad").before($html);

}

function get_the_landing($jp) {
	var $url = "/index.php?landing_content";
	$jp.ajax({
            url: $url,
            async: false,
            cache: false,
            success: function(html){
                $jp("#header").after(html);
            }
        });
}

function get_the_main_listing($jp, $the_id) {
	var $url = "/index.php?frontcard=" + $the_id;
	$jp.ajax({
            url: $url,
            async: false,
            cache: false,
            success: function(html){
                $jp("#content").prepend(html);
            }
        });
}
