var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811942&x=437',
		'title': '',
		'imageId': '69811942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811953&x=437',
		'title': '',
		'imageId': '69811953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811952&x=437',
		'title': '',
		'imageId': '69811952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811951&x=437',
		'title': '',
		'imageId': '69811951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811941&x=437',
		'title': '',
		'imageId': '69811941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811940&x=437',
		'title': '',
		'imageId': '69811940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811961&x=437',
		'title': '',
		'imageId': '69811961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811948&x=437',
		'title': '',
		'imageId': '69811948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811945&x=437',
		'title': '',
		'imageId': '69811945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811958&x=437',
		'title': '',
		'imageId': '69811958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811956&x=437',
		'title': '',
		'imageId': '69811956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811954&x=437',
		'title': '',
		'imageId': '69811954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811957&x=437',
		'title': '',
		'imageId': '69811957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811943&x=437',
		'title': '',
		'imageId': '69811943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811946&x=437',
		'title': '',
		'imageId': '69811946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811962&x=437',
		'title': '',
		'imageId': '69811962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811944&x=437',
		'title': '',
		'imageId': '69811944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811949&x=437',
		'title': '',
		'imageId': '69811949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811959&x=437',
		'title': '',
		'imageId': '69811959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811955&x=437',
		'title': '',
		'imageId': '69811955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811950&x=437',
		'title': '',
		'imageId': '69811950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811960&x=437',
		'title': '',
		'imageId': '69811960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004084&docid=69811947&x=437',
		'title': '',
		'imageId': '69811947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004084';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
