var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=68118258&x=738',
		'title': '',
		'imageId': '68118258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956975&x=738',
		'title': '',
		'imageId': '67956975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956973&x=738',
		'title': '',
		'imageId': '67956973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=68118257&x=738',
		'title': '',
		'imageId': '68118257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=68118260&x=738',
		'title': '',
		'imageId': '68118260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=68118262&x=738',
		'title': '',
		'imageId': '68118262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=68118261&x=738',
		'title': '',
		'imageId': '68118261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956986&x=738',
		'title': '',
		'imageId': '67956986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956978&x=738',
		'title': '',
		'imageId': '67956978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956979&x=738',
		'title': '',
		'imageId': '67956979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956980&x=738',
		'title': '',
		'imageId': '67956980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956974&x=738',
		'title': '',
		'imageId': '67956974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956977&x=738',
		'title': '',
		'imageId': '67956977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956989&x=738',
		'title': '',
		'imageId': '67956989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956987&x=738',
		'title': '',
		'imageId': '67956987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956981&x=738',
		'title': '',
		'imageId': '67956981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956983&x=738',
		'title': '',
		'imageId': '67956983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956985&x=738',
		'title': '',
		'imageId': '67956985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956982&x=738',
		'title': '',
		'imageId': '67956982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956984&x=738',
		'title': '',
		'imageId': '67956984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956990&x=738',
		'title': '',
		'imageId': '67956990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956976&x=738',
		'title': '',
		'imageId': '67956976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922301&docid=67956988&x=738',
		'title': '',
		'imageId': '67956988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922301';

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