if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))){
document.write('<link href="iphone.css" rel="stylesheet" type="text/css">');
}
if((navigator.userAgent.match(/iPad/i))){
document.write('<link href="ipadwoflash.css" rel="stylesheet" type="text/css">');
}