var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932334&x=393',
		'title': '',
		'imageId': '68932334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932331&x=393',
		'title': '',
		'imageId': '68932331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932328&x=393',
		'title': '',
		'imageId': '68932328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932346&x=393',
		'title': '',
		'imageId': '68932346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932337&x=393',
		'title': '',
		'imageId': '68932337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932340&x=393',
		'title': '',
		'imageId': '68932340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932343&x=393',
		'title': '',
		'imageId': '68932343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932349&x=393',
		'title': '',
		'imageId': '68932349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932352&x=393',
		'title': '',
		'imageId': '68932352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965208&docid=68932356&x=393',
		'title': '',
		'imageId': '68932356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965208';

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