var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646247&x=3739',
		'title': '',
		'imageId': '69646247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646264&x=3739',
		'title': '',
		'imageId': '69646264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646260&x=3739',
		'title': '',
		'imageId': '69646260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646263&x=3739',
		'title': '',
		'imageId': '69646263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646261&x=3739',
		'title': '',
		'imageId': '69646261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646251&x=3739',
		'title': '',
		'imageId': '69646251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646253&x=3739',
		'title': '',
		'imageId': '69646253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646268&x=3739',
		'title': '',
		'imageId': '69646268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646257&x=3739',
		'title': '',
		'imageId': '69646257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646273&x=3739',
		'title': '',
		'imageId': '69646273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646271&x=3739',
		'title': '',
		'imageId': '69646271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646267&x=3739',
		'title': '',
		'imageId': '69646267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646259&x=3739',
		'title': '',
		'imageId': '69646259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646270&x=3739',
		'title': '',
		'imageId': '69646270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646269&x=3739',
		'title': '',
		'imageId': '69646269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646723&x=3739',
		'title': '',
		'imageId': '69646723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646725&x=3739',
		'title': '',
		'imageId': '69646725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646724&x=3739',
		'title': '',
		'imageId': '69646724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646274&x=3739',
		'title': '',
		'imageId': '69646274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646245&x=3739',
		'title': '',
		'imageId': '69646245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646248&x=3739',
		'title': '',
		'imageId': '69646248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646250&x=3739',
		'title': '',
		'imageId': '69646250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646244&x=3739',
		'title': '',
		'imageId': '69646244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646246&x=3739',
		'title': '',
		'imageId': '69646246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646258&x=3739',
		'title': '',
		'imageId': '69646258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646262&x=3739',
		'title': '',
		'imageId': '69646262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646249&x=3739',
		'title': '',
		'imageId': '69646249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646254&x=3739',
		'title': '',
		'imageId': '69646254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646252&x=3739',
		'title': '',
		'imageId': '69646252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646266&x=3739',
		'title': '',
		'imageId': '69646266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646256&x=3739',
		'title': '',
		'imageId': '69646256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646255&x=3739',
		'title': '',
		'imageId': '69646255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646265&x=3739',
		'title': '',
		'imageId': '69646265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646275&x=3739',
		'title': '',
		'imageId': '69646275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646272&x=3739',
		'title': '',
		'imageId': '69646272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997454&docid=69646438&x=3739',
		'title': '',
		'imageId': '69646438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997454';

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