// version 9.0.115 or greater is required for launching AIR apps.
var so = new SWFObject("http://simpletimer.nulldesign.de/AIRInstallBadge.swf", "Badge", "215", "180", "9.0.115", "#ffffff");
so.useExpressInstall('http://simpletimer.nulldesign.de/expressinstall.swf');

// these parameters are required for badge install:
so.addVariable("airversion", "1.1"); // version of AIR runtime required
so.addVariable("appname", "SimpleTimer 2"); // application name to display to the user
so.addVariable("appurl", "http://simpletimer.nulldesign.de/SimpleTimer2.air"); // absolute URL (beginning with http or https) of the application ".air" file

// these parameters are required to support launching apps from the badge (but optional for install):
so.addVariable("appid", "de.nulldesign.SimpleTimer2"); // the qualified application ID (ex. com.gskinner.air.MyApplication)
so.addVariable("pubid", "B30CD814432FEE20140B768A4A8AFDE0F708A258.1"); // publisher id

// this parameter is required in addition to the above to support upgrading from the badge:
so.addVariable("appversion", "0.1"); // AIR application version

// these parameters are optional:
so.addVariable("imageurl", "http://simpletimer.nulldesign.de/simpletimer_badge.jpg"); // URL for an image (JPG, PNG, GIF) or SWF to display in the badge (205px wide, 170px high)
so.addVariable("appinstallarg", "installed from web"); // passed to the application when it is installed from the badge
so.addVariable("applauncharg", "launched from web"); // passed to the application when it is launched from the badge
// so.addVariable("helpurl", "help.html"); // optional url to a page containing additional help, displayed in the badge's help screen
so.addVariable("hidehelp", "true"); // hides the help icon if "true"
so.addVariable("skiptransition", "false"); // skips the initial transition if "true"
so.addVariable("titlecolor", "#1881EA"); // changes the color of titles
so.addVariable("buttonlabelcolor", "#1881EA"); // changes the color of the button label
so.addVariable("appnamecolor", "#1881EA");
so.write("flashcontent");