document.write('<div id="cartdiv"></div>');function DisplayCart(){mycurrel = document.getElementById("cartdiv");showhide('cartdiv', 'show');if(mycurrel.innerHTML==''){CreateXmlHttp();if(XmlHttp){mycurrel.innerHTML = 'Loading cart...';XmlHttp.onreadystatechange = HandleResponse;XmlHttp.open('GET', '/cws.net/smallcartdisplay.aspx?show=s',  true);XmlHttp.send(null);}}}
<!--
// small cart display, call as a javascript INSIDE the body: <script type="text/javascript" src="/yoursitepath/smallcartdisplay.aspx"></script>
//add a link to show it: <a onmouseover="DisplayCart();" onmouseout="showhide('cartdiv', 'hide');" href="add_trolley.aspx">Show Cart</a>
//add the style classes if outside PhatCMS: <link href="/yoursitepath/StyleSheet.css" rel="stylesheet" type="text/css" />
// add the link to external js if outside PhatCMS Master: <script type="text/javascript" src="/yoursitepath/JavaScript/cws.js"></script>
//-->
