$(document).ready(function () {

    // Search Textbox
    if ($(".txtSearch").val() == "") {
        $(".txtSearch").val("Search");
    }

    $(".txtSearch")
	.click(function () {
	    if ($(this).val() == "Search") {
	        $(this).val("");
	    }
	})
	.blur(function () {
	    if ($(this).val() == "") {
	        $(this).val("Search");
	    }
	});

    $(".fancybox").fancybox({
        'transitionIn': 'elastic',
        'transitionOut': 'elastic',
        'speedIn': 400,
        'speedOut': 200,
        'type': 'iframe',
        'width': 620,
        'height': 500,
        'overlayOpacity': .2,
        'overlayColor': '#000'
    });



});

/* Munged addy code for info email with Product subject */
/* OUTPUTS: <a href="mailto:Info@SWMetalFinishing.com?subject=Product%20Inquiry%20from%20Web%20Site" style="" class="" id="">Info@SWMetalFinishing.com</a>*/
function XJbjgcjPjTSkdaN() {
    var QWMRJpFQqEpPzjP = ["73", "110", "x66", "111", "x40", "x53", "x57", "77", "101", "116", "97", "x6c", "70", "105", "x6e", "105", "x73", "104", "x69", "110", "x67", "46", "99", "x6f", "109"];
    var ZpUllbIbUTdUtaE = ['?', 's', 'u', 'b', 'j', 'e', 'c', 't', '=', 'P', 'r', 'o', 'd', 'u', 'c', 't', '%', '2', '0', 'I', 'n', 'q', 'u', 'i', 'r', 'y', '%', '2', '0', 'f', 'r', 'o', 'm', '%', '2', '0', 'W', 'e', 'b', '%', '2', '0', 'S', 'i', 't', 'e'];
    var vlYBosZUfSvapsg = ["73", "110", "102", "x6f", "64", "83", "x57", "x4d", "x65", "116", "x61", "x6c", "x46", "105", "x6e", "105", "115", "104", "x69", "x6e", "x67", "x2e", "99", "111", "109"];
    document.write("<a href=\"&#x6d;&#00097;&#x69;&#x6c;&#x74;&#x6f;&#x3a;");
    for (i = 0; i < QWMRJpFQqEpPzjP.length; i++) document.write('&#' + QWMRJpFQqEpPzjP[i] + ';');
    for (i = 0; i < ZpUllbIbUTdUtaE.length; i++) document.write(ZpUllbIbUTdUtaE[i]);
    document.write('" style="" class="" id="">');
    for (i = 0; i < vlYBosZUfSvapsg.length; i++) document.write('&#' + vlYBosZUfSvapsg[i] + ';');
    document.write('</a>');
}

/* Munged addy code for info email with Product subject */
/* OUTPUTS: <a href="mailto:info@swmetalfinishing.com?subject=Southwest%20Metal%20Finishing%20-%20Information">info@swmetalfinishing.com</a> */
function bEhbNtWPidwcjqF() {
    var OuojbmmsQeuSIoO=["x69","110","x66","111","64","115","119","109","101","x74","97","x6c","102","x69","110","x69","115","104","x69","110","x67","x2e","x63","111","109"];
    var WkjhVgTTTIOqoVX=['?','s','u','b','j','e','c','t','=','S','o','u','t','h','w','e','s','t','%','2','0','M','e','t','a','l','%','2','0','F','i','n','i','s','h','i','n','g','%','2','0','-','%','2','0','I','n','f','o','r','m','a','t','i','o','n'];
    var qOQfhGilPsGgwkA=["x69","x6e","x66","x6f","x40","x73","x77","109","x65","116","x61","108","102","105","110","x69","115","x68","105","x6e","103","x2e","x63","x6f","x6d"];
    document.write("<a href=\"&#x6d;&#00097;&#105;&#000108;&#x74;&#000111;&#58;");
    for (i=0; i<OuojbmmsQeuSIoO.length; i++) document.write('&#'+OuojbmmsQeuSIoO[i]+';');
    for (i=0; i<WkjhVgTTTIOqoVX.length; i++) document.write(WkjhVgTTTIOqoVX[i]);
    document.write('" style="" class="" id="">');
    for (i=0; i<qOQfhGilPsGgwkA.length; i++) document.write('&#'+qOQfhGilPsGgwkA[i]+';');
    document.write('</a>');
}


