var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052493&x=3617',
		'title': '',
		'imageId': '70052493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052513&x=3617',
		'title': '',
		'imageId': '70052513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052523&x=3617',
		'title': '',
		'imageId': '70052523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052522&x=3617',
		'title': '',
		'imageId': '70052522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052486&x=3617',
		'title': '',
		'imageId': '70052486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052505&x=3617',
		'title': '',
		'imageId': '70052505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052511&x=3617',
		'title': '',
		'imageId': '70052511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052507&x=3617',
		'title': '',
		'imageId': '70052507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052487&x=3617',
		'title': '',
		'imageId': '70052487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052474&x=3617',
		'title': '',
		'imageId': '70052474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052476&x=3617',
		'title': '',
		'imageId': '70052476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052471&x=3617',
		'title': '',
		'imageId': '70052471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052509&x=3617',
		'title': '',
		'imageId': '70052509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052457&x=3617',
		'title': '',
		'imageId': '70052457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052465&x=3617',
		'title': '',
		'imageId': '70052465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052473&x=3617',
		'title': '',
		'imageId': '70052473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052512&x=3617',
		'title': '',
		'imageId': '70052512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052514&x=3617',
		'title': '',
		'imageId': '70052514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052483&x=3617',
		'title': '',
		'imageId': '70052483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052485&x=3617',
		'title': '',
		'imageId': '70052485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052494&x=3617',
		'title': '',
		'imageId': '70052494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052477&x=3617',
		'title': '',
		'imageId': '70052477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052464&x=3617',
		'title': '',
		'imageId': '70052464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052479&x=3617',
		'title': '',
		'imageId': '70052479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052517&x=3617',
		'title': '',
		'imageId': '70052517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052518&x=3617',
		'title': '',
		'imageId': '70052518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052490&x=3617',
		'title': '',
		'imageId': '70052490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052521&x=3617',
		'title': '',
		'imageId': '70052521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052491&x=3617',
		'title': '',
		'imageId': '70052491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052501&x=3617',
		'title': '',
		'imageId': '70052501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052496&x=3617',
		'title': '',
		'imageId': '70052496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052482&x=3617',
		'title': '',
		'imageId': '70052482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052472&x=3617',
		'title': '',
		'imageId': '70052472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052456&x=3617',
		'title': '',
		'imageId': '70052456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052495&x=3617',
		'title': '',
		'imageId': '70052495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013755&docid=70052467&x=3617',
		'title': '',
		'imageId': '70052467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013755';

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