var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496557&x=5425',
		'title': '',
		'imageId': '68496557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496715&x=5425',
		'title': '',
		'imageId': '68496715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496761&x=5425',
		'title': '',
		'imageId': '68496761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496768&x=5425',
		'title': '',
		'imageId': '68496768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496788&x=5425',
		'title': '',
		'imageId': '68496788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496820&x=5425',
		'title': '',
		'imageId': '68496820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496874&x=5425',
		'title': '',
		'imageId': '68496874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496888&x=5425',
		'title': '',
		'imageId': '68496888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68496892&x=5425',
		'title': '',
		'imageId': '68496892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946581&docid=68497710&x=5425',
		'title': '',
		'imageId': '68497710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946581';

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