$(document).ready(function() {
$("#scrollingDiv").insertBefore('#wrapper');
$('#mini-basket').append ("<div id='livechattop' style=\"color:#096ab1;) 0 bottom repeat-x\"><a onclick=\"return openChatWindow()\" target='_blank' href='http://livechat.boldchat.com/aid/6608957341269986646/bc.chat?cwdid=2034301991226328176'><img border='0' src='/static/Image/new-live-chat-top.png' alt='Blue Soda Promo Live Chat' /></a></div>");
$('#product .sample').prepend ($('#livechat'));
//$('#buying').prepend($('#sub-categories'));
$('body.category .body').prepend($('#sub-categories'));
//$('.body').prepend($('#product-list'));
$("#mostpopular").insertAfter("#product-list");
//$('#sub-categories').prepend ("<div id='subcat'><h3>Sub Categories</h3></div>");
$('#primary div.body').prepend($('#basket'));
//$('#product #submits').prepend($('#product .favourites'));
$('#basket fieldset.additional li.required').prepend($('#primary .basket fieldset.submit input.submit.order-by-phone-link'));
//$('#footer #bottom-links').prepend ("<div id='fancy-links' style=\"color:#096ab1;) 0 bottom repeat-x\"><a href='http://www.facebook.com/pages/Blue-Soda-Promo#!/pages/Blue-Soda-Promo/142495379096450'><img src='/static/Image/facebook.png' class='textmiddle'> find us on facebook  </a><a href='http://twitter.com/bluesodapromo'><img src='/static/Image/twitter.png'class='textmiddle'> follow us on twitter  </a><a href='http://www.youtube.com/bluesodapromo'><img src='/static/Image/youtube.png'class='textmiddle'> watch us on youtube  </a><a href='http://feeds.feedburner.com/BlueSodaPromo-NewsFeed'><img src='/static/Image/rss.png'class='textmiddle'> subscribe to our news feed </a></div>");
//$('#product .sample').append ("<div id='vstext' style=\"color:#155079;) \">Instantly see products<br>with your logo</div>");
//$('#footer').prepend ("<div id='foottest' class='jcarousel-skin-tango' style=\"color:#096ab1;) 0 bottom repeat-x\"><ul class='first-and-second-carousel jcarousel-skin-tango' id='first-carousel'><li><img src='/static/Image/testimonial1.png'/></li><li><img src='/static/Image/testimonial2.png'/></li><li><img src='/static/Image/testimonial3.png'/></li><li><img src='/static/Image/testimonial4.png'/></li><li><img src='/static/Image/testimonial5.png'/></li><li><img src='/static/Image/testimonial6.png'/></li></ul></div>");
$('#primary .basket fieldset.additional').prepend($('table.nc tfoot td.tac input.submit')); 
$('#primary .basket fieldset.additional').prepend($('#primary .basket fieldset.submit a.continue-link')); 
//$('p.price-box').prepend ("<div id='saleicon' style=\"color:#096ab1;) 0 bottom repeat-x\"><img src='/static/Image/salesprice.png' class='textmiddle'></div>");
//$('body.page.checkout #primary .basket fieldset#additional').append ("<div id='checkoutchat' style=\"color:#096ab1;) 0 bottom repeat-x\"><a onclick=\"return openChatWindow()\" target='_blank' href='http://livechat.boldchat.com/aid/6608957341269986646/bc.chat?cwdid=2034301991226328176'><img border='0' src='/static/Image/button-checkout-needhelp.png' alt='Blue Soda Promo Live Chat' /></a></div>");
$('body.page.checkout #primary .basket fieldset#additional fieldset label.file-browse').append ("<div id='artworktext' style=\"color:#767062;) 0 bottom repeat-x\"><p><i>If additional artwork, images and logos will be used, you will have the option to email separately.</i></p><p>Click <a onclick=\"return openChatWindow()\" target='_blank' href='http://livechat.boldchat.com/aid/6608957341269986646/bc.chat?cwdid=2034301991226328176'>here</a> if you need assistance</div>");
//$("<div id='requestsample' style=\"color:#096ab1;) 0 bottom repeat-x\"><a href='/sample.html'><img border='0' src='/static/Image/RequestSample.jpg' alt='Request a Sample' /></a></div>").insertBefore("#product #submits");
$("#vsstep2").insertAfter("#technologo-image form");
$("<div id='signinbuttons' style=\"color:#096ab1;) 0 bottom repeat-x\"><ul class='signinbuttonsul'><li><a href='/my-account.html'><img src='/static/Image/button-myaccount.jpg'/></a></li><li><a href='/?logout=1'><img src='/static/Image/button-logout.jpg'/></a></li></ul></div>").insertAfter("body.page.sign-in.logged-in #login .inner-box");
$("<div id='unitpricetxt' style=\"color:#ccc;) 0 bottom repeat-x\">Includes Imprinting Charges</div>").insertAfter("body.product.apparel #product tr.unit-total");
$("<div id='usb-callnow' style=\"color:#096ab1;) 0 bottom repeat-x\"><img src='/static/Image/new-usb-products-bg.png'></div>").insertAfter("body.product.usb-flash-drives-memory #product .basket fieldset");
$("#product-offer").insertBefore("#product .discounts");
$("<div id='featured1-title' style=\"color:#096ab1;) 0 bottom \"><img src='/static/Image/best-selling-bg.png'></div>").insertBefore('#featured ul');
$('div#tabs-1').append ($('#product .info-wrap .product'));
$('div#tabs-1').append ($('#product .item-info'));
//$('div#tabs-3').append ($('div.pdv-mini-enquiry-form'));
$('#product .related').insertAfter('div.pr_review_summary');
$('body.product .product-list').insertAfter('#product .related');
$('#product-top-searches').insertAfter('body.product .product-list');
$("#product-services").insertAfter("#product h2");
$('#header h1').prepend ("<div id='homelink'><a href='/'>Home</a></div>");
$("#tooltipsleft").insertBefore("#tertiary-links");
$("#home-page-about").insertAfter("#new-associations");
$("<div id='earn-5' style=\"color:#096ab1;) 0 bottom repeat-x\"><img src='/static/Image/newer-earn-5.png'></div>").insertBefore("#product ul.tabs");
$("table#product-promise").insertAfter("#product h2");
$('body.page.checkout #primary .basket fieldset#additional').insertBefore('body.page.checkout #primary .basket fieldset#personal-details');
$('body.page.checkout #primary .basket fieldset#additional li.file').insertBefore('body.page.checkout #primary .basket fieldset#additional li.date-field');
$("<div id='paypal-instruction'><img src='/static/Image/paypal-instruction.png'></div>").insertAfter('body.page.checkout form#confirm table.nc');
$("#letsseeit").insertAfter("#user-gallery");
$("#forbestresults").insertAfter("#letsseeit");

});
