var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181337&x=508',
		'title': '',
		'imageId': '68181337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181338&x=508',
		'title': '',
		'imageId': '68181338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181339&x=508',
		'title': '',
		'imageId': '68181339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181340&x=508',
		'title': '',
		'imageId': '68181340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181342&x=508',
		'title': '',
		'imageId': '68181342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181343&x=508',
		'title': '',
		'imageId': '68181343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181341&x=508',
		'title': '',
		'imageId': '68181341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181344&x=508',
		'title': '',
		'imageId': '68181344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181345&x=508',
		'title': '',
		'imageId': '68181345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932192&docid=68181347&x=508',
		'title': '',
		'imageId': '68181347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932192';

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