var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010127&x=243',
		'title': '',
		'imageId': '72010127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010115&x=243',
		'title': '',
		'imageId': '72010115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010124&x=243',
		'title': '',
		'imageId': '72010124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010109&x=243',
		'title': '',
		'imageId': '72010109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010125&x=243',
		'title': '',
		'imageId': '72010125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010114&x=243',
		'title': '',
		'imageId': '72010114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010113&x=243',
		'title': '',
		'imageId': '72010113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010111&x=243',
		'title': '',
		'imageId': '72010111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010122&x=243',
		'title': '',
		'imageId': '72010122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010116&x=243',
		'title': '',
		'imageId': '72010116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010121&x=243',
		'title': '',
		'imageId': '72010121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010128&x=243',
		'title': '',
		'imageId': '72010128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010129&x=243',
		'title': '',
		'imageId': '72010129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010117&x=243',
		'title': '',
		'imageId': '72010117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010110&x=243',
		'title': '',
		'imageId': '72010110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010119&x=243',
		'title': '',
		'imageId': '72010119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010118&x=243',
		'title': '',
		'imageId': '72010118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010120&x=243',
		'title': '',
		'imageId': '72010120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010112&x=243',
		'title': '',
		'imageId': '72010112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092644&docid=72010123&x=243',
		'title': '',
		'imageId': '72010123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092644';

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";
	})
}
