+INSERT INTO PageContent VALUES (DEFAULT, 5, (SELECT CategoryId FROM <%TABLE_PREFIX%>Categories WHERE Template = 'index'), (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.Template = 'index'),'<dt>Dwayne Wiener - Employee of the Month</dt>\r\n<dd>November 20, 2012 Dwayne Wiener has been voted Techno-funky Gadgets’s Employee of the Month for December, 2012. Dwayne oversees performance of the company’s new website, and is the mastermind behind its execution. The new website, developed by Intechnic Corporation, has an improved functionality, is easy to maintain, and it didn’t break Techno-funky Gadgets’s bank! Dwayne Wiener’s accomplishment is projected to cut costs by 40%, and to increase revenues by 20% from current levels – an unprecedented improvement from a single implementation.</dd>\r\n<dt>New Website for Techno-funky Gadgets</dt>\r\n<dd>October 15, 2012 Techno-funky Gadgets is proud to announce the launch of its new website, dedicated to providing clients with an online resource for innovative and affordable products and services for anyone who needs them. It is intuitively structured, and is easy to navigate. The site is based on Intechnic’s state-of-the-art Content Management System. It allows administrators at Techno-funky Gadgets to maintain the contents and the structure of the website in-house, without using any help from web designers. Regularly updated, the new Techno-funky Gadgets website is worthy of bookmarking for regular visits by anyone needing anything!</dd>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 6, (SELECT CategoryId FROM <%TABLE_PREFIX%>Categories WHERE Template = 'index'), (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.Template = 'index'), '<dt>ADMINISTRATIVE CONSOLE</dt>\r\n<dd>In-Portal’s Administrative Console is Dwayne’s little secret. It allows him to update the company’s website from any computer with Internet access while he relaxes in his home or office, with a beer in hand, or with a cucumber mask on his face!<br />\r\n<br />\r\n<a href="admin/index.php"> <img src="http://demo.in-portal.com/demo_images/click_here.gif" style="width: 220px; height: 125px;" alt="Administrative Console" /> </a></dd>', NULL, NULL, NULL, NULL);
+
+INSERT INTO PageContent VALUES (DEFAULT, 1, 200, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 200), '<p><img alt="About Techno-funky Gadgets" style="float: right; width: 182px; height: 292px;" src="http://demo.in-portal.com/demo_images/about_company.png" /> Techno-funky Gadgets is a company of tomorrow. We are setting industry standards by utilizing cutting edge technologies and innovations, while opening new frontiers and possibilities for our customers. Dedicated to the design, production, and delivery of innovative giggalmators, agathokakologs, and hundreds of other products and services over the last 25 years, Techno-funky Gadgets is uniquely able to offer its clients expert advice and comprehensive range of products to help them with any aspect of life. The products and services that we develop and make available on the market are used in every day lives of millions of people. Imagine yourself without a giggalmator today, and you will understand exactly what impact Techno-funky Gadgets has on the global community.</p>\r\n<p>Our mission is to fulfill each and every one of our customers’ needs. We value personal approach, diligence and professionalism, and we place trust at the center of every relationship, always staying committed to our customer. Our Customer Service Representatives are so dedicated to their job – they give out their personal numbers to clients, maintaining our reputation of a world class service company! All of our products and services come with an unlimited lifetime warranty, as Techno-funky Gadgets takes pride in delivering only the highest quality products and services.</p>\r\n<p>Customers that choose Techno-funky Gadgets can rest assured that they have made a wise decision. Their business will always be safe in the hands of professionals who are not only experts in their respective fields, but who also greatly enjoy doing what they do best.</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n <script type="text/javascript">\r\n$(document).ready(function() {\r\n $(''div.text'').addClass(''about'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 1, 201, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 201), '<p>Products by Techno-funky Gadgets come in a wide variety of shapes, sizes, colors, sounds, resolutions and tastes. Our award-winning products are enjoyed by everyone: from children to great-grandparents; from pre-schoolers to PhD’s; from artists to CFO’s; from rich to poor, from boring to funny. However you like it – Techno-funky Gadgets can cater to your needs.</p>\r\n<p><img alt="Giggalmator" style="float: left; width: 129px; height: 140px;" src="http://demo.in-portal.com/demo_images/giggalmator.jpg" /></p>\r\n<h4>Giggalmator</h4>\r\nGiggalmator is the most advanced product in the family of Techno-funky Gadgets’s Products. With 500 gigabytes of storage space, 30 miles per gallon and 256 distinct transformation styles, it delivers maximum results in minimum amount of time, while offering superb adaptation functions. With the best taste bud rating in the industry, and the highest crash test score, you can rely on Giggalmator to deliver scrumptious, stylish, reliable results. \r\n<p><img alt="Agathokakolog" style="float: right; width: 137px; height: 148px;" src="http://demo.in-portal.com/demo_images/agathokakolog.jpg" /></p>\r\n<p> </p>\r\n<h4>Agathokakolog</h4>\r\nAgathokakolog is the most impressive product of its kind on the market today: it can spin at the speed of 867,5309 rev/min, transmit 1.5Gbps of junk email, shoot 3.14 arrows per second, and on top of all that, its bouncing abilities are unsurpassed at .007 Million bounces per second! You’ve got to have it to believe it!<br />\r\n<p> </p>\r\n<p> </p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n <script type="text/javascript">\r\n$(document).ready(function() {\r\n $(''div.text'').addClass(''products'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 1, 202, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 202), '<p>Techno-funky Gadgets is committed to excellence in all aspects of business. Just as our products are of the highest quality, our services bring the utmost satisfaction to our clients. We strive to make the world a better place, and our services have been designed with that goal in mind.</p>\r\n<p>The packages described herein are available for general public; however, if you have a special request, please let us know and we will do our best to accommodate you.</p>\r\n<h4>The Performance Boosting Package</h4>\r\n<p><img alt="The Performance Boosting Package" style="float: right; width: 150px; height: 215px;" src="http://demo.in-portal.com/demo_images/services_photo.png" /><br />\r\nIs your office lacking performance? Are you a Manager whose subordinates are unproductive? Nothing gets done around the office? Has your secretary been typing up that memo about doing work on time, for the past four days? If you answered “Yes” to any of the above questions, this Boosting Package is for you! $copmpany has all of our productivity problems solved: the package consists of one Office Drill Sergeant and two Assistants.</p>\r\n<p>As we always do what’s in the best interest of our Client, this is a service we provide for a maximum period of one week at a time, so as not to increase employee turnover in your Company. You will have the Office Drill Sergeant at your workplace from morning and until night, ensuring that no one under your command slacks off. This is our most popular office service, and the only one, according to our clients, that significantly increases productivity in the office.</p>\r\n<h4>The Dust-Bust Package</h4>\r\n<p>Techno-funky Gadgets believes that plants must not be dusty. After a number of extensive and very reliable surveys, Techno-funky Gadgets received <img alt="The Performance Boosting Package" style="float: left; width: 137px; height: 166px;" src="http://demo.in-portal.com/demo_images/service.jpg" />reassurance that many people in the world have the same concern.</p>\r\n<p>This Package includes:<br />\r\n1. Plant-dusting of all plants – both inside and outside of your house<br />\r\n2. A set of our revolutionary Plant Dusters, engineered and produced by Techno-funky Gadgets<br />\r\n3. Actual planting of 3 new plants of your choice<br />\r\n4. BONUS: A complimentary video of various plant-dusting techniques!</p>\r\n<p>Techno-funky Gadgets only hires the top-of-the-class graduates of the World Plant-Dusting Institute, administer rigorous tests to ensure qualification, and hold mandatory Seminars to ensure that all of our top-notch dusters stay atop the newest industry developments and standards.</p>\r\n<p>This package does not disappoint – we leave your plants spotless, green, and dust-free!</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n <script type="text/javascript">\r\n$(document).ready(function() {\r\n $(''div.text'').addClass(''services'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 1, 203, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 203), '<p><img alt="Contact Us" style="width: 197px; height: 135px; float: right;" src="http://demo.in-portal.com/demo_images/contact_us.jpg" /> If you have any questions, comments, concerns, or if you would like to request general information about any of our products or services, please contact us in a way that is the most convenient for you:\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n</p>\r\n', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 2, 203, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 203), '<p>Techno-funky Gadgets, Inc<br />\r\n1234 Funky Drive<br />\r\nDwayneville, Alaska 00190<br />\r\nUnited States</p>\r\n<p>Phone: 847-816-1231<br />\r\nE-mail: <a href="mailto:info@company.com">info@company.com</a></p>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES (DEFAULT, 3, 203, (SELECT RevisionId FROM <%TABLE_PREFIX%>PageRevisions pr LEFT JOIN <%TABLE_PREFIX%>Categories c ON c.CategoryId=pr.PageId WHERE c.CategoryId = 203), 'NOTE: fields marked with <span class="red">*</span> are required.', NULL, NULL, NULL, NULL);
+
+# ADD DEFAULT PAGE PERMISSIONS
+INSERT INTO CategoryPermissionsCache VALUES (DEFAULT, 200, 1, '11');
+INSERT INTO CategoryPermissionsCache VALUES (DEFAULT, 201, 1, '11');
+INSERT INTO CategoryPermissionsCache VALUES (DEFAULT, 202, 1, '11');
+INSERT INTO CategoryPermissionsCache VALUES (DEFAULT, 203, 1, '11');
+
+# ADD FORM AND FORM FIELDS
+INSERT INTO Forms VALUES (1, 'Contact Us', 'Form for contacts', 0, 1, '', 0, 0, '', '', '', '', '', '', '110', '', '', '', '', '110', '', '');
+"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
+true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
+c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");
+"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,
+!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},
+for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
+"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,
+if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
+c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?
+a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
+global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&
+this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,