var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131947&x=5422',
		'title': '',
		'imageId': '70131947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131932&x=5422',
		'title': '',
		'imageId': '70131932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131955&x=5422',
		'title': '',
		'imageId': '70131955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131935&x=5422',
		'title': '',
		'imageId': '70131935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131937&x=5422',
		'title': '',
		'imageId': '70131937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131959&x=5422',
		'title': '',
		'imageId': '70131959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131949&x=5422',
		'title': '',
		'imageId': '70131949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131956&x=5422',
		'title': '',
		'imageId': '70131956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131945&x=5422',
		'title': '',
		'imageId': '70131945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131962&x=5422',
		'title': '',
		'imageId': '70131962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131942&x=5422',
		'title': '',
		'imageId': '70131942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131961&x=5422',
		'title': '',
		'imageId': '70131961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131960&x=5422',
		'title': '',
		'imageId': '70131960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131936&x=5422',
		'title': '',
		'imageId': '70131936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131958&x=5422',
		'title': '',
		'imageId': '70131958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131944&x=5422',
		'title': '',
		'imageId': '70131944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131946&x=5422',
		'title': '',
		'imageId': '70131946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131933&x=5422',
		'title': '',
		'imageId': '70131933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131950&x=5422',
		'title': '',
		'imageId': '70131950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131943&x=5422',
		'title': '',
		'imageId': '70131943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131948&x=5422',
		'title': '',
		'imageId': '70131948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131934&x=5422',
		'title': '',
		'imageId': '70131934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131954&x=5422',
		'title': '',
		'imageId': '70131954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131951&x=5422',
		'title': '',
		'imageId': '70131951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131938&x=5422',
		'title': '',
		'imageId': '70131938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131941&x=5422',
		'title': '',
		'imageId': '70131941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131952&x=5422',
		'title': '',
		'imageId': '70131952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131953&x=5422',
		'title': '',
		'imageId': '70131953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131939&x=5422',
		'title': '',
		'imageId': '70131939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131963&x=5422',
		'title': '',
		'imageId': '70131963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131940&x=5422',
		'title': '',
		'imageId': '70131940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012846&docid=70131957&x=5422',
		'title': '',
		'imageId': '70131957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012846';

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