equal
deleted
inserted
replaced
50 function checkIt(string) { |
50 function checkIt(string) { |
51 place = detect.indexOf(string) + 1; |
51 place = detect.indexOf(string) + 1; |
52 thestring = string; |
52 thestring = string; |
53 return place ? true : false; |
53 return place ? true : false; |
54 } |
54 } |
55 if (checkIt('msie')) IE = true; |
55 |
56 else IE = false; |
56 var IE = checkIt('msie'); |
57 |
57 var IE_8 = checkIt('msie 8.'); |
58 var is_Opera = checkIt('opera') ? true : false; |
58 var is_Opera = checkIt('opera'); |
59 var is_iPhone = checkIt('iphone') || checkIt('ipod'); |
59 var is_iPhone = checkIt('iphone') || checkIt('ipod'); |
60 var is_iPhone_3 = checkIt('iphone os 3_'); |
60 var is_iPhone_3 = checkIt('iphone os 3_'); |
61 var is_firefox2 = checkIt('firefox/2.'); |
61 var is_firefox2 = checkIt('firefox/2.'); |
62 |
62 |
63 var KILL_SWITCH = false; |
63 var KILL_SWITCH = false; |