var isIE6=(navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1);function cda_getCategoryID(){return cda_getElValue("adsk91-el-id-cat")}function cda_getContentID(){return cda_getElValue("adsk91-el-id-cont")}function cda_getElValue(a){return core_getValue(document.getElementById(a))}function cda_getLinkCategoryID(){return cda_getElValue("adsk91-el-id-lc")}function cda_getSiteID(){return cda_getElValue("adsk91-el-id-site")}function cda_isPreview(){return cda_getElValue("adsk91-el-is-preview")=="1"}function cda_lb(){if(!document.body){return true}function d(e){var f=document.createElement("div");f.setAttribute("id","adsk103-lightbox");f.innerHTML=e;if(isIE6){$("html, body").css("height","100%");$("#adsk103-lightbox").css("height",$(document).height())}document.body.appendChild(f)}var b=cda_lbURL();var c=new Array();var a={url:b,params:c,onSuccess:d};core_AjaxRequest(a);return false}function cda_lbClose(){var a=document.getElementById("adsk103-lightbox");if(!a){return true}a.parentNode.removeChild(a);if(isIE6){$("html, body").css("height","auto")}return false}function cda_lbURL(){return core_getContextPath()+"/servlet/lightboxdata"}function cda_animateElement(b,d,c,e){var a=jQuery(b);switch(d){case"toggle":a.toggle(c,e);break;case"slideToggle":a.slideToggle(c,e);break;case"slideUp":a.slideUp(c,e);break;case"slideDown":a.slideDown(c,e);break;default:break}}function cda_animateAccordion(a,e,n){var b=jQuery(a).next(),k=jQuery(e).next();n=jQuery.extend({duration:300,autoHeight:true,complete:function(){}},n);if(!e){b.animate({height:"show"},n.duration,n.complete);return}var m=b;var c=m[0].style.width;m.width(parseInt(m.parent().width(),10)-parseInt(m.css("paddingLeft"),10)-parseInt(m.css("paddingRight"),10)-(parseInt(m.css("borderLeftWidth"),10)||0)-(parseInt(m.css("borderRightWidth"),10)||0));var d=(k.height()==0)?"11":k.height(),l=b.height(),f=l/d,j=b.outerHeight()-b.height(),i=b.css("marginBottom"),h=b.css("overflow"),g=b.css("marginTop");b.css({height:0,overflow:"hidden",marginTop:0,marginBottom:-j}).show();k.animate({height:"hide"},{step:function(o){var p=(d-o)*f;if(jQuery.browser.msie||jQuery.browser.opera){p=Math.ceil(p)}b.height(p)},duration:n.duration,complete:function(){b.css({marginTop:g,marginBottom:i,overflow:h});if(!n.autoHeight){b.css("height","auto")}n.complete}})};
