= 0) { document.cookie="force=1"; } var cookiechk = document.cookie; if ((mobilesite.length > 0) && (cookiechk.indexOf("force=1")== -1)) { window.location = mobilesite; }'; } else { echo "// Non mobile site or forced non mobile"; } ?>