function Clickheretoprint()
{

	var disp_setting="toolbar=yes,location=no,directories=yes,menubar=yes,";
      	disp_setting+="scrollbars=yes,width=700, height=600, left=100, top=25";
  	var content_vlue = document.getElementById("swcdc_content").innerHTML;
	
    var content_header = jQuery(".swcdc_ContentHeader").html();
	//remove all classes and IDs and styles
	
	// removing flash object
	content_vlue = content_vlue.replace(/<(object|OBJECT|script|SCRIPT) .*?>(.*?)<\/(object|OBJECT|script|SCRIPT)>/g,'');
	
	// removing all the images inside the article
	content_vlue = content_vlue.replace(/<(IMG|img) .*?>/g,'');
	
	// removing all the classes and styling
	content_vlue = content_vlue.replace(/(class|id|style)=("|')((.)*?)('|")/g,'');

	var docprint=window.open("","",disp_setting);
   	docprint.document.open();
   	docprint.document.write('<html><head><title>SWCDC</title>');
   	docprint.document.write('</head><body onLoad="self.print()"><div id="content">');
   	docprint.document.write('<b>' + content_header + '</b><br><hr>');
   	docprint.document.write(content_vlue);
	docprint.document.write('</div><div class="clearfloat">&nbsp;</div><hr>');
   	docprint.document.write('<div>This is a Printer Friendly Page. It is not accessible according to WCAG standards.</div></body></html>');
   	docprint.document.close();
   	docprint.focus();
}


function Clickheretoemail()
{
	u = window.location;
	m = "Interesting Article in SWCDC corporate website";
	pagetitle = "Hi,%0A%0AI came across an interesting article in SWCDC corporate website.%0A%0AThe URL is ";
	window.location = "mailto:email@domain.com?subject="+m+"&body="+pagetitle+": "+u;	
}

function getCookie(c_name) {
    if (document.cookie.length > 0) {
        c_start = document.cookie.indexOf(c_name + "=");
        if (c_start != -1) {
            c_start = c_start + c_name.length + 1;
            c_end = document.cookie.indexOf(";", c_start);
            if (c_end == -1) c_end = document.cookie.length;
            return unescape(document.cookie.substring(c_start, c_end));
        }
    }
    return "";
}

function setCookie(c_name, value, expiredays) {
    var exdate = new Date();
    exdate.setDate(exdate.getDate() + expiredays);
    document.cookie = c_name + "=" + escape(value) +
	((expiredays == null) ? "" : ";expires=" + exdate.toGMTString());
}

var sitefunctions = {
    textresize: function() {
        // show text resizing links
        var $cookie_name = "SWCDCFontSize";
        var originalFontSize = jQuery("body").css("font-size");
        // if exists load saved value, otherwise store it
        if (getCookie($cookie_name)) {
            var $getSize = getCookie($cookie_name);
            jQuery("body").css({ fontSize: $getSize + ($getSize.indexOf("px") != -1 ? "" : "px") }); // IE fix for double "pxpx" error
        } else {
            setCookie($cookie_name, originalFontSize);
        }
        // reset link
        jQuery(".FontSizeReset").bind("click", function() {
            jQuery("body").css("font-size", originalFontSize);
            setCookie($cookie_name, originalFontSize);
        });
        // text “+” link
        jQuery(".FontSizeInc").click(function() {

            var currentFontSize = jQuery("body").css("font-size");
            var currentFontSizeNum = parseFloat(currentFontSize, 10);
            if (currentFontSizeNum < 18) {
                var newFontSize = currentFontSizeNum * 1.1;
                if (newFontSize, 11) {
                    jQuery("body").css("font-size", newFontSize);
                    setCookie($cookie_name, newFontSize);
                }
            }
            return false;
        });
        jQuery(".FontSizeDec").bind("click", function() {
            var currentFontSize = jQuery("body").css("font-size");
            var currentFontSizeNum = parseFloat(currentFontSize, 10);
            if (currentFontSizeNum > 9) {
                var newFontSize = currentFontSizeNum * 0.9;
                if (newFontSize, 11) {
                    jQuery("body").css("font-size", newFontSize);
                    setCookie($cookie_name, newFontSize);
                }
            }
            return false;
        });
    }
}

<!--------------------- Accordion js Starts ------------------------->
jQuery(document).ready(function() {
    sitefunctions.textresize();
})



                    jQuery (document).ready(function(){    
                                    jQuery ("#slider").easySlider({
                                                    auto: true,
                                                    continuous: true 
                                    });
                    });           
                    
                    //Cotnet slider 
                    jQuery (document).ready(function(){
                                    
                                    jQuery(".accordion div").hide();
                    
                                    jQuery (".accordion h3").click(function(){
                                                    jQuery (this).next("div").slideToggle("slow")
                                                    .siblings("div:visible").slideUp("slow");
                                                    jQuery (this).toggleClass("active");
                                                    jQuery (this).siblings("h3").removeClass("active");
                                    });
                    
                    });
<!--------------------- Accordion js Ends ------------------------->
