var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663572&x=132',
		'title': '',
		'imageId': '68663572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663593&x=132',
		'title': '',
		'imageId': '68663593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663590&x=132',
		'title': '',
		'imageId': '68663590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663574&x=132',
		'title': '',
		'imageId': '68663574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663575&x=132',
		'title': '',
		'imageId': '68663575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663578&x=132',
		'title': '',
		'imageId': '68663578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663583&x=132',
		'title': '',
		'imageId': '68663583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663586&x=132',
		'title': '',
		'imageId': '68663586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663587&x=132',
		'title': '',
		'imageId': '68663587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663573&x=132',
		'title': '',
		'imageId': '68663573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953535&docid=68663571&x=132',
		'title': '',
		'imageId': '68663571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953535';

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