var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505894&x=4419',
		'title': '',
		'imageId': '69505894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505893&x=4419',
		'title': '',
		'imageId': '69505893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505890&x=4419',
		'title': '',
		'imageId': '69505890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505895&x=4419',
		'title': '',
		'imageId': '69505895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505888&x=4419',
		'title': '',
		'imageId': '69505888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505896&x=4419',
		'title': '',
		'imageId': '69505896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505889&x=4419',
		'title': '',
		'imageId': '69505889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505892&x=4419',
		'title': '',
		'imageId': '69505892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505897&x=4419',
		'title': '',
		'imageId': '69505897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990794&docid=69505891&x=4419',
		'title': '',
		'imageId': '69505891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990794';

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