var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092897&x=4151',
		'title': '',
		'imageId': '71092897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092893&x=4151',
		'title': '',
		'imageId': '71092893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092888&x=4151',
		'title': '',
		'imageId': '71092888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092898&x=4151',
		'title': '',
		'imageId': '71092898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092895&x=4151',
		'title': '',
		'imageId': '71092895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092890&x=4151',
		'title': '',
		'imageId': '71092890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092900&x=4151',
		'title': '',
		'imageId': '71092900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092901&x=4151',
		'title': '',
		'imageId': '71092901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092902&x=4151',
		'title': '',
		'imageId': '71092902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092896&x=4151',
		'title': '',
		'imageId': '71092896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092894&x=4151',
		'title': '',
		'imageId': '71092894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092884&x=4151',
		'title': '',
		'imageId': '71092884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092892&x=4151',
		'title': '',
		'imageId': '71092892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092886&x=4151',
		'title': '',
		'imageId': '71092886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092899&x=4151',
		'title': '',
		'imageId': '71092899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092885&x=4151',
		'title': '',
		'imageId': '71092885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092887&x=4151',
		'title': '',
		'imageId': '71092887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067185&docid=71092889&x=4151',
		'title': '',
		'imageId': '71092889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067185';

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